Rollup merge of #28682 - apasel422:features, r=steveklabnik
This commit is contained in:
commit
30b43c1b12
@ -506,8 +506,6 @@ impl str {
|
||||
///
|
||||
/// # Examples
|
||||
/// ```
|
||||
/// #![feature(str_split_at)]
|
||||
///
|
||||
/// let s = "Löwe 老虎 Léopard";
|
||||
/// let first_space = s.find(' ').unwrap_or(s.len());
|
||||
/// let (a, b) = s.split_at(first_space);
|
||||
|
@ -753,8 +753,6 @@ impl<T> Vec<T> {
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// #![feature(split_off)]
|
||||
///
|
||||
/// let mut vec = vec![1,2,3];
|
||||
/// let vec2 = vec.split_off(1);
|
||||
/// assert_eq!(vec, [1]);
|
||||
|
@ -1319,8 +1319,6 @@ impl<T> VecDeque<T> {
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// #![feature(split_off)]
|
||||
///
|
||||
/// use std::collections::VecDeque;
|
||||
///
|
||||
/// let mut buf: VecDeque<_> = vec![1,2,3].into_iter().collect();
|
||||
@ -1406,8 +1404,6 @@ impl<T> VecDeque<T> {
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// #![feature(vec_deque_retain)]
|
||||
///
|
||||
/// use std::collections::VecDeque;
|
||||
///
|
||||
/// let mut buf = VecDeque::new();
|
||||
|
@ -9,7 +9,6 @@
|
||||
// except according to those terms.
|
||||
|
||||
#![feature(ascii)]
|
||||
#![feature(append)]
|
||||
#![feature(binary_heap_extras)]
|
||||
#![feature(box_syntax)]
|
||||
#![feature(btree_range)]
|
||||
@ -29,18 +28,14 @@
|
||||
#![feature(set_recovery)]
|
||||
#![feature(slice_bytes)]
|
||||
#![feature(slice_splits)]
|
||||
#![feature(split_off)]
|
||||
#![feature(step_by)]
|
||||
#![feature(str_char)]
|
||||
#![feature(str_escape)]
|
||||
#![feature(str_match_indices)]
|
||||
#![feature(str_split_at)]
|
||||
#![feature(str_utf16)]
|
||||
#![feature(box_str)]
|
||||
#![feature(test)]
|
||||
#![feature(unboxed_closures)]
|
||||
#![feature(unicode)]
|
||||
#![feature(vec_deque_retain)]
|
||||
#![feature(vec_push_all)]
|
||||
|
||||
#[macro_use] extern crate log;
|
||||
|
@ -36,7 +36,6 @@
|
||||
#![feature(staged_api)]
|
||||
#![feature(str_char)]
|
||||
#![feature(filling_drop)]
|
||||
#![cfg_attr(test, feature(test))]
|
||||
|
||||
extern crate serialize;
|
||||
#[macro_use] extern crate log;
|
||||
|
@ -249,8 +249,8 @@
|
||||
#![feature(wrapping)]
|
||||
#![feature(zero_one)]
|
||||
#![cfg_attr(windows, feature(str_utf16))]
|
||||
#![cfg_attr(test, feature(float_from_str_radix, range_inclusive, float_extras, hash_default))]
|
||||
#![cfg_attr(test, feature(test, rustc_private, float_consts))]
|
||||
#![cfg_attr(test, feature(float_from_str_radix, range_inclusive, float_extras))]
|
||||
#![cfg_attr(test, feature(test, rustc_private))]
|
||||
#![cfg_attr(target_env = "msvc", feature(link_args))]
|
||||
|
||||
// Don't link to std. We are std.
|
||||
|
Loading…
Reference in New Issue
Block a user