Skip to content

Commit d04e27b

Browse files
committed
---
yaml --- r: 102429 b: refs/heads/master c: 331f907 h: refs/heads/master i: 102427: 2ca2308 v: v3
1 parent 2f70760 commit d04e27b

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 9b3c63bdd5ef9d772e3c74061761e5c0b326f9c0
2+
refs/heads/master: 331f9077a035b201e7bddfabae503ba72c3ab1de
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 6e7f170fedd3c526a643c0b2d13863acd982be02
55
refs/heads/try: a97642026c18a624ff6ea01075dd9550f8ed07ff

trunk/src/libstd/char.rs

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,19 @@ pub fn from_u32(i: u32) -> Option<char> {
9494
/// Returns whether the specified `char` is considered a Unicode alphabetic
9595
/// code point
9696
pub fn is_alphabetic(c: char) -> bool { derived_property::Alphabetic(c) }
97-
#[allow(missing_doc)]
97+
98+
/// Returns whether the specified `char` satisfies the 'XID_Start' Unicode property
99+
///
100+
/// 'XID_Start' is a Unicode Derived Property specified in
101+
/// [UAX #31](http://unicode.org/reports/tr31/#NFKC_Modifications),
102+
/// mostly similar to ID_Start but modified for closure under NFKx.
98103
pub fn is_XID_start(c: char) -> bool { derived_property::XID_Start(c) }
99-
#[allow(missing_doc)]
104+
105+
/// Returns whether the specified `char` satisfies the 'XID_Continue' Unicode property
106+
///
107+
/// 'XID_Continue' is a Unicode Derived Property specified in
108+
/// [UAX #31](http://unicode.org/reports/tr31/#NFKC_Modifications),
109+
/// mostly similar to 'ID_Continue' but modified for closure under NFKx.
100110
pub fn is_XID_continue(c: char) -> bool { derived_property::XID_Continue(c) }
101111

102112
///

0 commit comments

Comments
 (0)