rust/library/alloc/src/vec
Matthias Krüger 4428d6f363
Rollup merge of #130101 - RalfJung:const-cleanup, r=fee1-dead
some const cleanup: remove unnecessary attributes, add const-hack indications

I learned that we use `FIXME(const-hack)` on top of the "const-hack" label. That seems much better since it marks the right place in the code and moves around with the code. So I went through the PRs with that label and added appropriate FIXMEs in the code. IMO this means we can then remove the label -- Cc ``@rust-lang/wg-const-eval.``

I also noticed some const stability attributes that don't do anything useful, and removed them.

r? ``@fee1-dead``
2024-09-12 19:03:41 +02: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 #130101 - RalfJung:const-cleanup, r=fee1-dead 2024-09-12 19:03:41 +02: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 add FIXME(const-hack) 2024-09-08 23:08:40 +02: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 Avoid more NonNull-raw-NonNull roundtrips in Vec 2024-04-12 18:14:29 -04: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