Skip to content

Commit b3bedc0

Browse files
authored
Merge pull request rust-lang#48 from VinithKrishnan/master
Added links to descriptions of XID_start and XID_continue in identifiers section.
2 parents 604edc4 + f6be960 commit b3bedc0

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/identifiers.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,25 @@ An identifier is any nonempty Unicode[^non_ascii_idents] string of the following
44

55
Either
66

7-
* The first character has property `XID_start`
8-
* The remaining characters have property `XID_continue`
7+
* The first character has property [`XID_start`]
8+
* The remaining characters have property [`XID_continue`]
99

1010
Or
1111

1212
* The first character is `_`
1313
* The identifier is more than one character, `_` alone is not an identifier
14-
* The remaining characters have property `XID_continue`
14+
* The remaining characters have property [`XID_continue`]
1515

1616
that does _not_ occur in the set of [keywords].
1717

18-
> **Note**: `XID_start` and `XID_continue` as character properties cover the
18+
> **Note**: [`XID_start`] and [`XID_continue`] as character properties cover the
1919
> character ranges used to form the more familiar C and Java language-family
2020
> identifiers.
2121
22+
23+
24+
[`XID_start`]: http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5B%3AXID_Start%3A%5D&abb=on&g=&i=
25+
[`XID_continue`]: http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5B%3AXID_Continue%3A%5D&abb=on&g=&i=
2226
[keywords]: ../grammar.html#keywords
2327
[^non_ascii_idents]: Non-ASCII characters in identifiers are currently feature
2428
gated. This is expected to improve soon.

0 commit comments

Comments
 (0)