rust/src/liballoc
kennytm 8e3493d459
Rollup merge of #47463 - bluss:fused-iterator, r=alexcrichton
Stabilize FusedIterator

FusedIterator is a marker trait that promises that the implementing
iterator continues to return `None` from `.next()` once it has returned
`None` once (and/or `.next_back()`, if implemented).

The effects of FusedIterator are already widely available through
`.fuse()`, but with stable `FusedIterator`, stable Rust users can
implement this trait for their iterators when appropriate.

Closes #35602
2018-03-06 20:52:37 +08:00
..
benches Stabilize [T]::rotate_{left,right} 2018-02-22 20:12:38 -05:00
btree core: Update stability attributes for FusedIterator 2018-03-03 14:23:05 +01:00
tests Stabilize [T]::rotate_{left,right} 2018-02-22 20:12:38 -05:00
allocator.rs Replace Unique<T> with NonZero<T> in Alloc trait 2018-01-20 10:55:16 +01:00
arc.rs Rename Box::into_non_null_raw to Box::into_raw_non_null 2018-01-20 11:09:23 +01:00
binary_heap.rs core: Update stability attributes for FusedIterator 2018-03-03 14:23:05 +01:00
borrow.rs examples in Cow::into_owned don't need to wrap result in Cows 2017-11-14 18:23:24 -06:00
boxed.rs core: Update stability attributes for FusedIterator 2018-03-03 14:23:05 +01:00
boxed_test.rs Direct conversions between slices and boxes. 2017-02-06 18:53:13 -05:00
Cargo.toml std: Remove rand crate and module 2017-11-08 20:41:17 -08:00
fmt.rs Adding eprint*! to the list of macros in the format! family 2017-11-22 20:44:05 -08:00
heap.rs Add missing micro version number component in stability attributes. 2018-01-24 22:25:42 +01:00
lib.rs Rollup merge of #47463 - bluss:fused-iterator, r=alexcrichton 2018-03-06 20:52:37 +08:00
linked_list.rs core: Update stability attributes for FusedIterator 2018-03-03 14:23:05 +01:00
macros.rs fix some typos 2017-11-21 15:33:45 +01:00
range.rs Revert "Stabilize RangeArgument" 2017-06-30 08:34:53 -10:00
raw_vec.rs Replace Unique<T> with NonZero<T> in Alloc trait 2018-01-20 10:55:16 +01:00
rc.rs Rename Box::into_non_null_raw to Box::into_raw_non_null 2018-01-20 11:09:23 +01:00
slice.rs Stabilize [T]::rotate_{left,right} 2018-02-22 20:12:38 -05:00
str.rs Rollup merge of #47463 - bluss:fused-iterator, r=alexcrichton 2018-03-06 20:52:37 +08:00
string.rs core: Update stability attributes for FusedIterator 2018-03-03 14:23:05 +01:00
vec.rs Rollup merge of #47463 - bluss:fused-iterator, r=alexcrichton 2018-03-06 20:52:37 +08:00
vec_deque.rs core: Update stability attributes for FusedIterator 2018-03-03 14:23:05 +01:00