Skip to content

Commit c60a418

Browse files
authored
Merge pull request #824 from ehuss/link-pattern-whitespace
Add a link to the definition of Pattern_White_Space.
2 parents 5d40ba5 + 716e04f commit c60a418

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/whitespace.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Whitespace
22

33
Whitespace is any non-empty string containing only characters that have the
4-
`Pattern_White_Space` Unicode property, namely:
4+
[`Pattern_White_Space`] Unicode property, namely:
55

66
- `U+0009` (horizontal tab, `'\t'`)
77
- `U+000A` (line feed, `'\n'`)
@@ -20,3 +20,5 @@ to separate _tokens_ in the grammar, and have no semantic significance.
2020

2121
A Rust program has identical meaning if each whitespace element is replaced
2222
with any other legal whitespace element, such as a single space character.
23+
24+
[`Pattern_White_Space`]: https://www.unicode.org/reports/tr31/

0 commit comments

Comments
 (0)