rust/library/alloc/src/vec
Yuki Okushi 581e7417ce
Rollup merge of #110635 - scottmcm:zst-checks, r=the8472
More `IS_ZST` in `library`

I noticed that `post_inc_start` and `pre_dec_end` were doing this check in different ways

d19b64fb54/library/core/src/slice/iter/macros.rs (L76-L93)

so started making this PR, then added a few more I found since I was already making changes anyway.
2023-04-22 10:33:57 +09:00
..
cow.rs remove some unneeded imports 2023-04-12 19:27:18 +02:00
drain.rs Rollup merge of #110635 - scottmcm:zst-checks, r=the8472 2023-04-22 10:33:57 +09:00
drain_filter.rs More IS_ZST in library 2023-04-21 16:29:27 -07:00
in_place_collect.rs Rollup merge of #101642 - SkiFire13:fix-inplace-collection-leak, r=the8472 2022-10-04 16:11:01 +05:30
in_place_drop.rs Fix leaking in inplace collection when destructor panics 2022-09-10 11:34:22 +02:00
into_iter.rs remove some unneeded imports 2023-04-12 19:27:18 +02:00
is_zero.rs Update IsZero documentation 2023-01-18 15:48:53 +00:00
mod.rs rm const traits in libcore 2023-04-16 06:49:27 +00:00
partial_eq.rs Allow comparing Vecs with different allocators using == 2022-02-08 01:50:55 +00:00
set_len_on_drop.rs Tune RepeatWith::try_fold and Take::for_each and Vec::extend_trusted 2022-11-24 19:14:19 -08:00
spec_extend.rs Extract the logic for TrustedLen to a named method that can be called directly 2022-11-24 03:12:05 -08:00
spec_from_elem.rs Support vec zero-alloc optimization for tuples and byte arrays 2022-07-24 15:56:39 -04: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 Don't do pointer arithmetic on pointers to deallocated memory 2023-01-17 22:01:33 +01:00