mirror of
https://github.com/rust-lang/rust
synced 2024-09-15 22:50:55 +00:00
unstabilize Words struct
Words struct was stabilied by mistake. Unstabilize.
This commit is contained in:
parent
7397bdc9c5
commit
f43c86cda4
|
@ -38,6 +38,7 @@
|
|||
#![feature(unsafe_no_drop_flag, filling_drop)]
|
||||
#![feature(step_by)]
|
||||
#![feature(str_char)]
|
||||
#![feature(str_words)]
|
||||
#![feature(slice_patterns)]
|
||||
#![feature(debug_builders)]
|
||||
#![feature(utf8_error)]
|
||||
|
|
|
@ -26,7 +26,8 @@
|
|||
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>,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue