about summary refs log tree commit diff
path: root/library/alloc/src/raw_vec.rs
AgeCommit message (Expand)AuthorLines
2025-01-20alloc: add `#![warn(unreachable_pub)]`Urgau-20/+24
2025-01-09Update a bunch of library types for MCP807Scott McMurray-24/+22
2024-12-29fix: typoscalciumbe-1/+1
2024-11-29Auto merge of #133533 - BoxyUwU:bump-boostrap, r=jieyouxu,Mark-Simulacrumbors-3/+0
2024-11-28Share inline(never) generics across cratesMark Rousskov-1/+3
2024-11-27update cfgsBoxy-3/+0
2024-10-25Re-do recursive const stability checksRalf Jung-3/+3
2024-10-14Auto merge of #126557 - GrigorenkoPV:vec_track_caller, r=joboetbors-0/+17
2024-10-06liballoc: introduce String, Vec const-slicingNathan Perry-6/+6
2024-09-20Add `#[track_caller]` to allocating methods of `Vec` & `VecDeque`Pavel Grigorenko-0/+17
2024-09-08add FIXME(const-hack)Ralf Jung-14/+1
2024-08-14apply #[optimize(size)] to #[cold] ones and part of the panick machineryThe 8472-0/+1
2024-08-09Add an optimizer hint for the capacity that with_capacity_in returnsBen Kimock-1/+7
2024-08-09Hoist IS_ZST check out of RawVecInner::from_*_inBen Kimock-6/+15
2024-08-09Polymorphize RawVecBen Kimock-193/+361
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+1
2024-07-26Fix doc nitsJohn Arundel-3/+3
2024-07-01Avoid MIR bloat in inliningScott McMurray-0/+17
2024-04-12Avoid more NonNull-raw-NonNull roundtrips in VecBen Kimock-0/+11
2024-03-28Rename reserve_for_push to grow_one and fix comment.Cai Bear-3/+3
2024-03-28Remove len argument from RawVec::reserve_for_push because it's always equal t...Cai Bear-2/+2
2024-03-27Less generic code for Vec allocationsKornel-13/+29
2024-03-10RawVec::into_box: avoid unnecessary intermediate referenceRalf Jung-2/+1
2024-03-09Rollup merge of #120504 - kornelski:try_with_capacity, r=AmanieuGuillaume Boisseau-23/+38
2024-03-07Rust is a proper name: rust → RustRalf Jung-1/+1
2024-03-01Move capacity_overflow function to make ui tests change lessKornel-9/+9
2024-03-01try_with_capacity for Vec, VecDeque, StringKornel-0/+9
2024-03-01try_with_capacity for RawVecKornel-15/+21
2024-02-17Remove unnecessary unit bindinghi-rustin-2/+2
2024-02-08Reduce use of NonNull::new_unchecked in library/Ben Kimock-6/+7
2024-01-13libs: use `assert_unchecked` instead of intrinsicjoboet-4/+4
2024-01-11chore: remove unnecessary blank linehi-rustin-1/+0
2023-12-29Italicise "bytes" in the docs of some `Vec` methodsGurinder Singh-2/+2
2023-12-11add comment to RawVec::cap fieldThe 8472-0/+5
2023-12-11add more niches to rawvecThe 8472-15/+36
2023-11-05Auto merge of #117503 - kornelski:hint-try-reserved, r=workingjubileebors-4/+14
2023-11-02Hint optimizer about reserved capacityKornel-4/+14
2023-10-29Increase the reach of panic_immediate_abortBen Kimock-1/+1
2023-10-17Automatically enable cross-crate inlining for small functionsBen Kimock-0/+1
2023-07-13Eliminate ZST allocations in `Box` and `Vec`Amanieu d'Antras-10/+20
2023-04-12remove some unneeded importsKaDiWa-1/+0
2023-01-22simplify layout calculations in rawvecThe 8472-5/+12
2022-09-22Make ZST checks in core/alloc more readableScott McMurray-6/+6
2022-06-29alloc: fix `no_global_oom_handling` warningsMiguel Ojeda-0/+1
2022-05-13Remove some unnecessary `rustc_allow_const_fn_unstable` attributes.Nicholas Nethercote-1/+0
2022-04-06formattingSparkyPotato-1/+1
2022-04-06cleanupSparkyPotato-8/+2
2022-04-06fix Vec leak with 0 capacitySparkyPotato-0/+7
2022-02-12Fix typoAlphyr-1/+1
2022-02-12Fix `shrink` and `capacity_from_bytes`Benoît du Garreau-2/+3