Skip to content

Commit bf255b6

Browse files
rust.yaml: Add the keyword "union" (zyedidia#3759)
1 parent 98ff79d commit bf255b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/syntax/rust.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ rules:
77
# function definition
88
- identifier: "fn [a-z0-9_]+"
99
# Reserved words
10-
- statement: "\\b(abstract|alignof|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|false|final|fn|for|gen|if|impl|in|let|loop|macro|match|mod|move|mut|offsetof|override|priv|pub|pure|ref|return|sizeof|static|self|struct|super|true|trait|type|typeof|try|unsafe|unsized|use|virtual|where|while|yield)\\b"
10+
- statement: "\\b(abstract|alignof|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|false|final|fn|for|gen|if|impl|in|let|loop|macro|match|mod|move|mut|offsetof|override|priv|pub|pure|ref|return|sizeof|static|self|struct|super|true|trait|type|typeof|try|union|unsafe|unsized|use|virtual|where|while|yield)\\b"
1111
# macros
1212
- special: "[a-z_]+!"
1313
# Constants

0 commit comments

Comments
 (0)