about summary refs log tree commit diff
path: root/library/alloc
AgeCommit message (Expand)AuthorLines
2025-05-04Update `compiler-builtins` to 0.1.157Trevor Gross-1/+1
2025-05-04extract_if's sample equivalent now really equivalent.Nick Kocharhook-6/+12
2025-05-03Suggest `retain_mut` over `retain` as `Vec::extract_if` alternativePaolo Barbolini-2/+2
2025-05-02Implement Iterator::last for vec::IntoIterThalia Archibald-0/+5
2025-04-30docs: Specify that common sort functions sort in an ascending directionNatrix-4/+7
2025-04-30Auto merge of #140188 - nnethercote:streamline-format-macro, r=cuviperbors-2/+1
2025-04-29Update rc.rs docsJon Bauman-1/+1
2025-04-28Rename sub_ptr to offset_from_unsigned in docsDaniPopes-2/+2
2025-04-28Auto merge of #123239 - Urgau:dangerous_implicit_autorefs, r=jdonszelmann,tra...bors-1/+3
2025-04-28Auto merge of #136316 - GrigorenkoPV:generic_atomic, r=Mark-Simulacrumbors-5/+6
2025-04-28Rollup merge of #138939 - SabrinaJewson:arc-is-unique, r=tgross35Chris Denton-8/+61
2025-04-28Streamline the `format` macro.Nicholas Nethercote-2/+1
2025-04-27Add `Arc::is_unique`SabrinaJewson-8/+61
2025-04-27Rollup merge of #137714 - DiuDiu777:doc-fix, r=tgross35Matthias Krüger-3/+12
2025-04-27Rollup merge of #137439 - clarfonthey:c-str-module, r=tgross35Matthias Krüger-1/+3
2025-04-27fix missing doc in CString::from_raw and str::from_boxed_utf8_uncheckedLemonJ-3/+12
2025-04-27use generic Atomic type where possibleChristopher Durham-5/+6
2025-04-24Rollup merge of #140232 - nnethercote:rm-unnecessary-clones, r=SparrowLiiMatthias Krüger-1/+1
2025-04-24Remove some unnecessary clones.Nicholas Nethercote-1/+1
2025-04-22Update `compiler_builtins` to 0.1.156Trevor Gross-1/+1
2025-04-21Rollup merge of #140118 - tamird:cstr-cleanup, r=joboetChris Denton-3/+3
2025-04-20Implement lint against dangerous implicit autorefsUrgau-1/+1
2025-04-20Add `#[rustc_no_implicit_autorefs]` and apply it to std methodsUrgau-0/+2
2025-04-19Rollup merge of #139922 - jnqnfe:cstr_doc_fix, r=jhprattChris Denton-1/+1
2025-04-18Invert `<CString as Deref>::deref` and `CString::as_c_str`Tamir Duberstein-3/+3
2025-04-17Update `compiler-builtins` to 0.1.155Trevor Gross-1/+1
2025-04-16fix incorrect type in cstr `to_string_lossy()` docsLyndon Brown-1/+1
2025-04-12Optimize `ToString` implementation for integersGuillaume Gomez-0/+48
2025-04-12Fix typo in documentationGenYuLi-1/+1
2025-04-11Rollup merge of #139600 - tgross35:update-builtins, r=tgross35Stuart Cook-1/+1
2025-04-10Update `compiler-builtins` to 0.1.153Trevor Gross-1/+1
2025-04-10Auto merge of #139279 - BoxyUwU:bump-boostrap, r=jieyouxubors-35/+35
2025-04-09intra-doc linkBoxy-1/+1
2025-04-09update cfgsBoxy-7/+7
2025-04-09replace version placeholderBoxy-27/+27
2025-04-09Speed up `String::push` and `String::insert`lincot-18/+48
2025-04-08document panic behavior of Vec::resize and Vec::resize_withJonathan Gruner-0/+8
2025-04-06Auto merge of #138951 - jwnrt:alloc-raw-vec-strict-prov, r=Noratriebbors-5/+6
2025-04-03Fix testing with randomized layouts enabledbjorn3-1/+0
2025-03-30Rollup merge of #139141 - mejrs:on_unimpl, r=NoratriebJacob Pratt-8/+0
2025-03-30Delete unreacheable `#[rustc_on_unimplemented]`mejrs-8/+0
2025-03-29Auto merge of #133572 - frank-king:feature/unique_arc, r=Amanieubors-1/+411
2025-03-26Swap usize -> ptr transmute for strict_pov APIJames Wainwright-2/+1
2025-03-26Pass `Alignment` for `RawVecInner::new_in`James Wainwright-4/+6
2025-03-24Rollup merge of #138800 - RalfJung:const_box, r=oli-obkMatthias Krüger-8/+4
2025-03-24Update `compiler-builtins` to 0.1.152Trevor Gross-1/+1
2025-03-22Remove `PartialEq::ne` for `UniqueArc`Frank King-19/+0
2025-03-22Add more APIs for UniqueArcFrank King-5/+250
2025-03-22Make UniqueArc invariant for soundnessFrank King-2/+6
2025-03-22Implement `UniqueArc`Frank King-1/+181