We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7397bdc commit f43c86cCopy full SHA for f43c86c
src/libcollections/lib.rs
@@ -38,6 +38,7 @@
38
#![feature(unsafe_no_drop_flag, filling_drop)]
39
#![feature(step_by)]
40
#![feature(str_char)]
41
+#![feature(str_words)]
42
#![feature(slice_patterns)]
43
#![feature(debug_builders)]
44
#![feature(utf8_error)]
src/librustc_unicode/u_str.rs
@@ -26,7 +26,8 @@ use core::str::Split;
26
use tables::grapheme::GraphemeCat;
27
28
/// An iterator over the words of a string, separated by a sequence of whitespace
29
-#[stable(feature = "rust1", since = "1.0.0")]
+#[unstable(feature = "str_words",
30
+ reason = "words() will be replaced by split_whitespace() in 1.1.0")]
31
pub struct Words<'a> {
32
inner: Filter<Split<'a, fn(char) -> bool>, fn(&&str) -> bool>,
33
}
0 commit comments