Skip to content

Commit

Permalink
Document that use is also for precise capturing (#4210)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Krycho <[email protected]>
  • Loading branch information
hkBst and chriskrycho authored Jan 22, 2025
1 parent 82a4a49 commit 33b7bec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/appendix-01-keywords.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 33b7bec

Please sign in to comment.