File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -65,14 +65,9 @@ explicit code point lists. [^inputformat]
65
65
provided to the grammar verifier, restricted to ASCII range, when verifying the
66
66
grammar in this document.
67
67
68
- ## Special Unicode Productions
68
+ ## Identifiers
69
69
70
- The following productions in the Rust grammar are defined in terms of Unicode
71
- properties: ` ident ` , ` non_null ` , ` non_eol ` , ` non_single_quote ` and ` non_double_quote ` .
72
-
73
- ### Identifiers
74
-
75
- The ` ident ` production is any nonempty Unicode[ ^ non_ascii_idents ] string of the following form:
70
+ An identifier is any nonempty Unicode[ ^ non_ascii_idents ] string of the following form:
76
71
77
72
[ ^ non_ascii_idents ] : Non-ASCII characters in identifiers are currently feature
78
73
gated. This is expected to improve soon.
@@ -86,15 +81,6 @@ that does _not_ occur in the set of [keywords](#keywords).
86
81
> character ranges used to form the more familiar C and Java language-family
87
82
> identifiers.
88
83
89
- ### Delimiter-restricted productions
90
-
91
- Some productions are defined by exclusion of particular Unicode characters:
92
-
93
- - ` non_null ` is any single Unicode character aside from ` U+0000 ` (null)
94
- - ` non_eol ` is ` non_null ` restricted to exclude ` U+000A ` (` '\n' ` )
95
- - ` non_single_quote ` is ` non_null ` restricted to exclude ` U+0027 ` (` ' ` )
96
- - ` non_double_quote ` is ` non_null ` restricted to exclude ` U+0022 ` (` " ` )
97
-
98
84
## Comments
99
85
100
86
Comments in Rust code follow the general C++ style of line and block-comment
You can’t perform that action at this time.
0 commit comments