From df2faed2c2bf2e1e46013987ac1ac7c7653a506d Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Tue, 21 Mar 2017 21:16:12 -0400 Subject: [PATCH] Add more places you can't use keywords Also reorder by likelihood of encountering, ish. --- second-edition/src/appendix-01-keywords.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/second-edition/src/appendix-01-keywords.md b/second-edition/src/appendix-01-keywords.md index e2a0c5e9a..bcd435950 100644 --- a/second-edition/src/appendix-01-keywords.md +++ b/second-edition/src/appendix-01-keywords.md @@ -1,8 +1,9 @@ ## Appendix A: Keywords The following keywords are reserved by the Rust language and may not be used as -names of functions, variables, macros, modules, crates, constants, static -values, attributes, struct fields, or parameters. +identifiers such as names of functions, variables, parameters, struct fields, +modules, crates, constants, macros, static values, attributes, types, traits, +or lifetimes. * `abstract` - reserved for future use * `alignof` - reserved for future use