Skip to content

Commit b03a4ad

Browse files
committed
unstabilize Words struct
Words struct was stabilied by mistake. Unstabilize.
1 parent 7397bdc commit b03a4ad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc_unicode/u_str.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ use core::str::Split;
2626
use tables::grapheme::GraphemeCat;
2727

2828
/// An iterator over the words of a string, separated by a sequence of whitespace
29-
#[stable(feature = "rust1", since = "1.0.0")]
29+
#[unstable(feature = "str_words",
30+
reason = "words() will be replaced by split_whitespace() in 1.1.0")]
3031
pub struct Words<'a> {
3132
inner: Filter<Split<'a, fn(char) -> bool>, fn(&&str) -> bool>,
3233
}

0 commit comments

Comments
 (0)