about summary refs log tree commit diff
path: root/library/alloc
AgeCommit message (Expand)AuthorLines
2024-05-19fmtZachary S-5/+6
2024-05-19Fix stacked borrows violationZachary S-1/+5
2024-05-19Use a single static for all default slice Arcs.Zachary S-29/+48
2024-05-19Auto merge of #124640 - Billy-Sheppard:master, r=dtolnaybors-0/+113
2024-05-19Auto merge of #99969 - calebsander:feature/collect-box-str, r=dtolnaybors-4/+54
2024-05-18use `Result::into_ok` on infallible result.Joshua Wong-4/+3
2024-05-18specialize `Iterator::fold` for `vec::IntoIter`Joshua Wong-2/+27
2024-05-18optimize in_place_collect with vec::IntoIter::try_foldJoshua Wong-0/+29
2024-05-18optimize in-place collection of `Vec`Joshua Wong-3/+6
2024-05-18Clarify how String::leak and into_boxed_str differJon Gjengset-5/+7
2024-05-16Access alloc field directly in Arc/Rc::into_raw_with_allocator.Zachary S-4/+4
2024-05-16Fix linkchecker doc errorsLukas Bergdoll-3/+3
2024-05-16Move BufGuard impl outside of functionLukas Bergdoll-11/+10
2024-05-16Replace sort implementationsLukas Bergdoll-117/+114
2024-05-13Add fn into_raw_with_allocator to Rc/Arc/Weak.Zachary S-10/+107
2024-05-13Forward alloc features to coreDion Dokter-2/+2
2024-05-13Add `size_of`, `size_of_val`, `align_of`, and `align_of_val` to the preludeJosh Triplett-4/+0
2024-05-12Use shared statics for the ArcInner for Arc<str, CStr>::default, and for Arc<...Zachary S-14/+51
2024-05-12Add note about possible allocation-sharing to Arc/Rc<str/[T]/CStr>::default.Zachary S-0/+12
2024-05-12added Default implsBilly Sheppard-0/+64
2024-05-12Auto merge of #125012 - RalfJung:format-error, r=Mark-Simulacrum,workingjubileebors-1/+3
2024-05-11Rollup merge of #124981 - zachs18:rc-allocator-generalize-1, r=Mark-SimulacrumMatthias Krüger-32/+33
2024-05-11io::Write::write_fmt: panic if the formatter fails when the stream does not failRalf Jung-1/+3
2024-05-11Add flag to std and alloc tooDion Dokter-0/+2
2024-05-10Relax A: Clone requirement on Rc/Arc::unwrap_or_clone.Zachary S-0/+4
2024-05-10Relax allocator requirements on some Rc APIs.Zachary S-32/+29
2024-05-10Add fn allocator method to rc/sync::Weak. Relax Rc<T>/Arc<T>::allocator to al...Zachary S-20/+36
2024-05-09Document proper usage of `fmt::Error` and `fmt()`'s `Result`.Kevin Reid-1/+1
2024-05-08fix #124714 str.to_lowercase sigma handlingMarcondiro-4/+9
2024-05-07Move `test_shrink_to_unwind` to its own file.Markus Everling-55/+54
2024-05-07Fix `VecDeque::shrink_to` UB when `handle_alloc_error` unwinds.Markus Everling-2/+120
2024-05-05alloc: implement FromIterator for Box<str>Caleb Sander-4/+54
2024-05-05Rollup merge of #124749 - RossSmyth:stable_range, r=davidtwcoGuillaume Gomez-1/+1
2024-05-03Rollup merge of #124593 - GKFX:cstr-literals-in-api-docs, r=workingjubileeMatthias Krüger-9/+5
2024-05-03Rollup merge of #124441 - bravequickcleverfibreyarn:string.rs, r=AmanieuMatthias Krüger-1/+1
2024-05-03Rollup merge of #123480 - Nadrieril:impl-all-derefpures, r=compiler-errorsMatthias Krüger-1/+4
2024-05-02Stabilize exclusive_rangeRoss Smyth-1/+1
2024-05-01Step bootstrap cfgsMark Rousskov-4/+1
2024-05-01Replace version placeholders for 1.79Mark Rousskov-1/+1
2024-05-01Describe and use CStr literals in CStr and CString docsGeorge Bateman-9/+5
2024-04-28Stabilize `non_null_convenience`Trevor Gross-1/+0
2024-04-27WS fix.JirCep-1/+1
2024-04-27String.truncate calls Vec.truncate, in turn, and that statesJirCep-1/+1
2024-04-27Auto merge of #124432 - zetanumbers:non_copy_into_raw_with_alloc, r=Nilstriebbors-7/+4
2024-04-27Relax `A: Clone` bound for `rc::Weak::into_raw_and_alloc`Daria Sukhonina-7/+4
2024-04-26Auto merge of #123909 - dtolnay:utf8chunks, r=joboetbors-5/+2
2024-04-24Stabilize Utf8ChunksDavid Tolnay-5/+2
2024-04-24fix typo in binary_heap docsThomas Lindae-1/+1
2024-04-24Stabilise `inline_const`Gary Guo-1/+1
2024-04-22Stabilize generic `NonZero`.Markus Reiter-2/+0