We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 939f38b commit a885fdcCopy full SHA for a885fdc
src/util.rs
@@ -132,10 +132,10 @@ pub fn ident_str(name: &str, fmt: &IdentFormat) -> String {
132
}
133
134
pub fn sanitize_keyword(sc: Cow<str>) -> Cow<str> {
135
- const KEYWORDS: [&str; 55] = [
+ const KEYWORDS: [&str; 56] = [
136
"abstract", "alignof", "as", "async", "await", "become", "box", "break", "const",
137
"continue", "crate", "do", "dyn", "else", "enum", "extern", "false", "final", "fn", "for",
138
- "if", "impl", "in", "let", "loop", "macro", "match", "mod", "move", "mut", "offsetof",
+ "gen", "if", "impl", "in", "let", "loop", "macro", "match", "mod", "move", "mut", "offsetof",
139
"override", "priv", "proc", "pub", "pure", "ref", "return", "self", "sizeof", "static",
140
"struct", "super", "trait", "true", "try", "type", "typeof", "unsafe", "unsized", "use",
141
"virtual", "where", "while", "yield",
0 commit comments