rust/library/alloc/src/vec
Dylan DPC e5cf3cb97d
Rollup merge of #97087 - Nilstrieb:clarify-slice-iteration-order, r=dtolnay
Clarify slice and Vec iteration order

While already being inferable from the doc examples, it wasn't fully specified. This is the only logical way to do a slice iterator, so I think this should be uncontroversial. It also improves the `Vec::into_iter` example to better show the order and that the iterator returns owned values.
2022-05-23 07:43:49 +02:00
..
cow.rs Document From impls for cow.rs 2021-05-26 14:21:44 +00:00
drain.rs Rename unsigned_offset_from to sub_ptr 2022-05-11 17:16:25 -07:00
drain_filter.rs style: applying Rust style 2020-12-29 14:03:30 +00:00
in_place_collect.rs Rename unsigned_offset_from to sub_ptr 2022-05-11 17:16:25 -07:00
in_place_drop.rs Rename unsigned_offset_from to sub_ptr 2022-05-11 17:16:25 -07:00
into_iter.rs Rename unsigned_offset_from to sub_ptr 2022-05-11 17:16:25 -07:00
is_zero.rs Tweak the calloc optimization to only apply to shortish-arrays 2022-05-01 22:28:11 -07:00
mod.rs Rollup merge of #97087 - Nilstrieb:clarify-slice-iteration-order, r=dtolnay 2022-05-23 07:43:49 +02:00
partial_eq.rs Allow comparing Vecs with different allocators using == 2022-02-08 01:50:55 +00:00
set_len_on_drop.rs refactor: moved SetLenOnDrop to set_len_on_drop 2020-12-29 14:03:30 +00:00
spec_extend.rs Add VecDeque::extend from vec::IntoIter and slice::Iter specializations 2022-04-28 06:13:54 +02:00
spec_from_elem.rs style: applying Rust style 2020-12-29 14:03:30 +00:00
spec_from_iter.rs Update documentation of SpecFromIter to reflect the removed impls 2021-05-31 21:07:03 +02:00
spec_from_iter_nested.rs Improve estimation of capacity in Vec::from_iter 2022-01-19 09:47:49 -05:00
splice.rs Update expressions where we can use array's IntoIterator implementation 2021-06-02 16:09:04 +06:00