Skip to content

Commit 4c32a45

Browse files
committed
---
yaml --- r: 149815 b: refs/heads/try2 c: 331f907 h: refs/heads/master i: 149813: 5b8dfb4 149811: 28d52c6 149807: 205e930 v: v3
1 parent b562996 commit 4c32a45

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
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 9b3c63bdd5ef9d772e3c74061761e5c0b326f9c0
8+
refs/heads/try2: 331f9077a035b201e7bddfabae503ba72c3ab1de
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/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)