Skip to content

Commit 523dbfc

Browse files
authored
update reference for rust-lang#29734
1 parent 5755936 commit 523dbfc

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/doc/reference.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,8 @@ Non-doc comments are interpreted as a form of whitespace.
114114

115115
## Whitespace
116116

117-
Whitespace is any non-empty string containing only the following characters:
118-
119-
- `U+0020` (space, `' '`)
120-
- `U+0009` (tab, `'\t'`)
121-
- `U+000A` (LF, `'\n'`)
122-
- `U+000D` (CR, `'\r'`)
117+
Whitespace is any non-empty string containing only characters that have the
118+
`Pattern_White_Space` Unicode property.
123119

124120
Rust is a "free-form" language, meaning that all forms of whitespace serve only
125121
to separate _tokens_ in the grammar, and have no semantic significance.

0 commit comments

Comments
 (0)