mirror of
https://github.com/rust-lang/book.git
synced 2026-12-01 04:18:03 -06:00
Document that use is also for precise capturing (#4210)
Co-authored-by: Chris Krycho <hello@chriskrycho.com>
This commit is contained in:
co-authored by
Chris Krycho
parent
82a4a49789
commit
33b7becc5f
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user