]> git.lizzy.rs Git - rust.git/commitdiff
update reference for #29734
authorAlex Burka <durka42+github@gmail.com>
Wed, 15 Jun 2016 20:35:03 +0000 (16:35 -0400)
committerGitHub <noreply@github.com>
Wed, 15 Jun 2016 20:35:03 +0000 (16:35 -0400)
src/doc/reference.md

index fb8ea0f5661d3f404df50c0c06c68e9625a48765..6e794321f64449f842ca011b39a8785e04c6783a 100644 (file)
@@ -114,12 +114,8 @@ Non-doc comments are interpreted as a form of whitespace.
 
 ## Whitespace
 
-Whitespace is any non-empty string containing only the following characters:
-
-- `U+0020` (space, `' '`)
-- `U+0009` (tab, `'\t'`)
-- `U+000A` (LF, `'\n'`)
-- `U+000D` (CR, `'\r'`)
+Whitespace is any non-empty string containing only characters that have the
+`Pattern_White_Space` Unicode property.
 
 Rust is a "free-form" language, meaning that all forms of whitespace serve only
 to separate _tokens_ in the grammar, and have no semantic significance.