rust/library/alloc/src/vec
Stuart Cook c11505f218
Rollup merge of #130061 - theemathas:box_vec_non_null, r=MarkSimulacrum,workingjubilee
Add `NonNull` convenience methods to `Box` and `Vec`

Implements the ACP: https://github.com/rust-lang/libs-team/issues/418.

The docs for the added methods are mostly copied from the existing methods that use raw pointers instead of `NonNull`.

I'm new to this "contributing to rustc" thing, so I'm sorry if I did something wrong. In particular, I don't know what the process is for creating a new unstable feature. Please advise me if I should do something. Thank you.
2024-09-15 12:14:55 +10:00
..
cow.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
drain.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
extract_if.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
in_place_collect.rs Rollup merge of #130061 - theemathas:box_vec_non_null, r=MarkSimulacrum,workingjubilee 2024-09-15 12:14:55 +10:00
in_place_drop.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
into_iter.rs Rollup merge of #130101 - RalfJung:const-cleanup, r=fee1-dead 2024-09-12 19:03:41 +02:00
is_zero.rs Use generic NonZero everywhere in alloc. 2024-02-22 15:17:34 +01:00
mod.rs Rollup merge of #130061 - theemathas:box_vec_non_null, r=MarkSimulacrum,workingjubilee 2024-09-15 12:14:55 +10:00
partial_eq.rs Reformat use declarations. 2024-07-29 08:26:52 +10: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 Reformat use declarations. 2024-07-29 08:26:52 +10:00
spec_from_elem.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
spec_from_iter.rs Add NonNull convenience methods to Vec 2024-09-07 14:48:25 +07:00
spec_from_iter_nested.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
splice.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00