From 33b7becc5ff2bf013368797f7ddf9f96aaa1fac1 Mon Sep 17 00:00:00 2001 From: Marijn Schouten Date: Wed, 22 Jan 2025 16:09:26 +0100 Subject: [PATCH] Document that `use` is also for `precise capturing` (#4210) Co-authored-by: Chris Krycho --- src/appendix-01-keywords.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/appendix-01-keywords.md b/src/appendix-01-keywords.md index 4e7cdc7d7..8592218f8 100644 --- a/src/appendix-01-keywords.md +++ b/src/appendix-01-keywords.md @@ -53,7 +53,8 @@ described. - `union` - define a [union][union]; 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