Document that use is also for precise capturing (#4210)

Co-authored-by: Chris Krycho <hello@chriskrycho.com>
This commit is contained in:
Marijn Schouten
2025-01-22 08:09:26 -07:00
committed by GitHub
co-authored by Chris Krycho
parent 82a4a49789
commit 33b7becc5f
+2 -1
View File
@@ -53,7 +53,8 @@ described.
- `union` - define a [union][union]<!-- ignore -->; is only a keyword when used
in a union declaration
- `unsafe` - denote unsafe code, functions, traits, or implementations
- `use` - bring symbols into scope
- `use` - bring symbols into scope; specify precise captures for generic and
lifetime bounds
- `where` - denote clauses that constrain a type
- `while` - loop conditionally based on the result of an expression