File tree 1 file changed +13
-1
lines changed 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,19 @@ Non-doc comments are interpreted as a form of whitespace.
115
115
## Whitespace
116
116
117
117
Whitespace is any non-empty string containing only characters that have the
118
- ` Pattern_White_Space ` Unicode property.
118
+ ` Pattern_White_Space ` Unicode property, namely:
119
+
120
+ - ` U+0009 ` (horizontal tab, ` '\t' ` )
121
+ - ` U+000A ` (line feed, ` '\n' ` )
122
+ - ` U+000B ` (vertical tab)
123
+ - ` U+000C ` (form feed)
124
+ - ` U+000D ` (carriage return, ` '\r' ` )
125
+ - ` U+0020 ` (space, ` ' ' ` )
126
+ - ` U+0085 ` (next line)
127
+ - ` U+200E ` (left-to-right mark)
128
+ - ` U+200F ` (right-to-left mark)
129
+ - ` U+2028 ` (line separator)
130
+ - ` U+2029 ` (paragraph separator)
119
131
120
132
Rust is a "free-form" language, meaning that all forms of whitespace serve only
121
133
to separate _ tokens_ in the grammar, and have no semantic significance.
You can’t perform that action at this time.
0 commit comments