rust/library/alloc/src/vec
bors b6a23b8537 Auto merge of #121454 - reitermarkus:generic-nonzero-library, r=dtolnay
Use generic `NonZero` everywhere in `library`.

Tracking issue: https://github.com/rust-lang/rust/issues/120257

Use generic `NonZero` everywhere (except stable examples).

r? `@dtolnay`
2024-02-23 14:27:33 +00:00
..
cow.rs Bump version placeholders 2024-02-08 07:43:38 -05:00
drain.rs enable rust_2018_idioms for doctests 2023-05-07 00:12:29 +03:00
extract_if.rs remove unused field 2023-06-15 21:14:40 +02:00
in_place_collect.rs Use generic NonZero internally. 2024-02-15 08:09:42 +01:00
in_place_drop.rs fix: Drop guard was deallocating with the incorrect size 2024-01-19 23:05:30 +01:00
into_iter.rs Don't use mem::zeroed in vec::IntoIter 2024-02-16 10:44:39 -05:00
is_zero.rs Use generic NonZero everywhere in alloc. 2024-02-22 15:17:34 +01:00
mod.rs Add rustc_confusables annotations to some stdlib APIs 2024-02-22 18:04:55 +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 Remove lifetime bound for A for impl Extend<&'a T> for Vec<T, A>. 2023-07-01 02:12:45 -05:00
spec_from_elem.rs docs(GH-118094): make docs a bit more explicit 2023-11-20 18:35:04 +03:00
spec_from_iter.rs update internal ASCII art comment for vec specializations 2024-01-18 22:47:20 +01:00
spec_from_iter_nested.rs Improve estimation of capacity in Vec::from_iter 2022-01-19 09:47:49 -05:00
splice.rs enable rust_2018_idioms for doctests 2023-05-07 00:12:29 +03:00