1
Fork 0
rust/library/alloc/src
bors 51c0db6a91 Auto merge of #106790 - the8472:rawvec-niche, r=scottmcm
add more niches to rawvec

Previously RawVec only had a single niche in its `NonNull` pointer. With this change it now has `isize::MAX` niches since half the value-space of the capacity field is never needed, we can't have a capacity larger than isize::MAX.
2023-12-20 02:19:10 +00:00
..
alloc run alloc benchmarks in Miri and fix UB 2022-11-07 10:34:04 +01:00
boxed Address unused tuple struct fields in the standard library 2023-11-28 12:00:54 -05:00
collections remove redundant imports 2023-12-10 10:56:22 +08:00
ffi Update c_str.rs 2023-12-14 19:08:36 -05:00
raw_vec add more niches to rawvec 2023-12-11 23:38:48 +01:00
rc remove redundant imports 2023-12-10 10:56:22 +08:00
slice ignore core, alloc and test tests that require unwinding on panic=abort 2023-06-13 15:53:24 +02:00
sync remove redundant imports 2023-12-10 10:56:22 +08:00
testing Share testing utilities with non-btree test cases 2022-05-02 10:07:50 +02:00
vec Auto merge of #118460 - the8472:fix-vec-realloc, r=saethlin 2023-12-06 08:45:11 +00:00
alloc.rs Add proper cfgs 2023-11-28 09:02:34 +08:00
borrow.rs Add more diagnostic items for clippy 2023-10-05 18:21:47 -04:00
boxed.rs docs: clarify explicitly freeing heap allocated memory 2023-11-04 03:00:43 -05:00
fmt.rs Closure-consuming helper functions for fmt::Debug helpers 2023-11-10 07:50:11 +09:00
lib.rs Auto merge of #110353 - the8472:in-place-flatten-chunks, r=cuviper 2023-11-28 12:22:16 +00:00
macros.rs Update doc for alloc::format! and core::concat! 2023-09-06 15:11:21 +02:00
raw_vec.rs add comment to RawVec::cap field 2023-12-11 23:38:48 +01:00
rc.rs Auto merge of #116949 - hamza1311:stablize-arc_unwrap_or_clone, r=dtolnay 2023-12-10 05:01:00 +00:00
slice.rs Add suggestion for some #[deprecated] items 2023-08-21 12:51:51 +03:00
str.rs [nit] Fix a comment typo. 2023-08-15 14:26:14 -05:00
string.rs Rollup merge of #95967 - CAD97:from-utf16, r=dtolnay 2023-10-11 03:53:16 +03:00
sync.rs Auto merge of #116949 - hamza1311:stablize-arc_unwrap_or_clone, r=dtolnay 2023-12-10 05:01:00 +00:00
task.rs Updating Wake example to use new 'pin!' macro 2023-04-25 13:50:50 +02:00
tests.rs remove redundant imports 2023-12-10 10:56:22 +08:00