diff options
| author | kwantam <kwantam@gmail.com> | 2015-04-21 15:24:50 -0400 |
|---|---|---|
| committer | kwantam <kwantam@gmail.com> | 2015-04-21 15:31:45 -0400 |
| commit | f43c86cda46a423b947be427a5fea2614ca569dc (patch) | |
| tree | f2a6d1ca4186590b83f51c9490c4601e1e43c22a /src/librustc_unicode | |
| parent | 7397bdc9c516f3f714ad4974ecdd27f567d03d05 (diff) | |
| download | rust-f43c86cda46a423b947be427a5fea2614ca569dc.tar.gz rust-f43c86cda46a423b947be427a5fea2614ca569dc.zip | |
unstabilize Words struct
Words struct was stabilied by mistake. Unstabilize.
Diffstat (limited to 'src/librustc_unicode')
| -rw-r--r-- | src/librustc_unicode/u_str.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustc_unicode/u_str.rs b/src/librustc_unicode/u_str.rs index c63c586b6a9..097776312df 100644 --- a/src/librustc_unicode/u_str.rs +++ b/src/librustc_unicode/u_str.rs @@ -26,7 +26,8 @@ use core::str::Split; use tables::grapheme::GraphemeCat; /// An iterator over the words of a string, separated by a sequence of whitespace -#[stable(feature = "rust1", since = "1.0.0")] +#[unstable(feature = "str_words", + reason = "words() will be replaced by split_whitespace() in 1.1.0")] pub struct Words<'a> { inner: Filter<Split<'a, fn(char) -> bool>, fn(&&str) -> bool>, } |
