Stabilize iter_rfold in 1.27.0
This commit is contained in:
parent
934902af61
commit
1c8d10bce5
@ -100,7 +100,6 @@
|
||||
#![feature(fundamental)]
|
||||
#![feature(generic_param_attrs)]
|
||||
#![cfg_attr(stage0, feature(i128_type))]
|
||||
#![feature(iter_rfold)]
|
||||
#![feature(lang_items)]
|
||||
#![feature(needs_allocator)]
|
||||
#![feature(nonzero)]
|
||||
|
@ -491,7 +491,6 @@ pub trait DoubleEndedIterator: Iterator {
|
||||
/// Basic usage:
|
||||
///
|
||||
/// ```
|
||||
/// #![feature(iter_rfold)]
|
||||
/// let a = [1, 2, 3];
|
||||
///
|
||||
/// // the sum of all of the elements of a
|
||||
@ -505,7 +504,6 @@ pub trait DoubleEndedIterator: Iterator {
|
||||
/// and continuing with each element from the back until the front:
|
||||
///
|
||||
/// ```
|
||||
/// #![feature(iter_rfold)]
|
||||
/// let numbers = [1, 2, 3, 4, 5];
|
||||
///
|
||||
/// let zero = "0".to_string();
|
||||
@ -517,7 +515,7 @@ pub trait DoubleEndedIterator: Iterator {
|
||||
/// assert_eq!(result, "(1 + (2 + (3 + (4 + (5 + 0)))))");
|
||||
/// ```
|
||||
#[inline]
|
||||
#[unstable(feature = "iter_rfold", issue = "44705")]
|
||||
#[stable(feature = "iter_rfold", since = "1.27.0")]
|
||||
fn rfold<B, F>(mut self, accum: B, mut f: F) -> B where
|
||||
Self: Sized, F: FnMut(B, Self::Item) -> B,
|
||||
{
|
||||
|
@ -29,7 +29,6 @@
|
||||
#![feature(iterator_flatten)]
|
||||
#![cfg_attr(stage0, feature(conservative_impl_trait))]
|
||||
#![feature(iter_rfind)]
|
||||
#![feature(iter_rfold)]
|
||||
#![feature(iterator_repeat_with)]
|
||||
#![feature(nonzero)]
|
||||
#![feature(pattern)]
|
||||
|
Loading…
Reference in New Issue
Block a user