about summary refs log tree commit diff
path: root/library/alloc
AgeCommit message (Expand)AuthorLines
2022-03-29Add debug assertions to some unsafe functionsBen Kimock-2/+2
2022-03-28Auto merge of #95249 - HeroicKatora:set-ptr-value, r=dtolnaybors-6/+7
2022-03-28Rollup merge of #95098 - shepmaster:vec-from-array-ref, r=dtolnayDylan DPC-0/+42
2022-03-28Rollup merge of #95016 - janpaul123:patch-1, r=dtolnayDylan DPC-3/+7
2022-03-28Rollup merge of #93755 - ChayimFriedman2:allow-comparing-vecs-with-different-...Dylan DPC-1/+1
2022-03-27Rollup merge of #95368 - lopopolo:lopopolo/string-try-reserve-exact-doc-typo,...Dylan DPC-1/+1
2022-03-27Fix typo in `String::try_reserve_exact` docsRyan Lopopolo-1/+1
2022-03-27Use default alloc_error_handler for hermitMartin Kröning-1/+1
2022-03-27Debug print char 0 as '\0' rather than '\u{0}'David Tolnay-2/+2
2022-03-27Support arrays of zeros in Vec's __rust_alloc_zeroed optimizationScott McMurray-1/+8
2022-03-25Add another assertion without into_iterJörn Horstmann-2/+6
2022-03-25Add a test verifying the number of drop callsJörn Horstmann-0/+24
2022-03-25Use ManuallyDrop::take instead of into_innerJörn Horstmann-1/+1
2022-03-25Fix double drop of allocator in IntoIter impl of VecJörn Horstmann-7/+10
2022-03-25Adjust tests for isize::MAX allocation always being checkedCAD97-311/+142
2022-03-24Auto merge of #87667 - the8472:document-in-place-iter, r=yaahcbors-168/+317
2022-03-23fix some links, clarify documentation based on review feedbackThe 8472-12/+19
2022-03-23Refactor set_ptr_value as with_metadata_ofAndreas Molzer-6/+7
2022-03-23Explicitly mention overflow is what we're checkingMichael Bradshaw-4/+4
2022-03-23Clarify that `Cow::into_owned` returns owned dataJonathan Giddy-3/+3
2022-03-22Format unsafe {} blocksMichael Bradshaw-2/+6
2022-03-22Optimize RcInnerPtr::inc_strong instruction countMichael Bradshaw-10/+24
2022-03-22Remove impossible panic note from `Vec::append`Tobias Bucher-1/+1
2022-03-22rename internal helper trait AsIntoIter to AsVecIntoIterThe 8472-10/+10
2022-03-21weaken needlessly restrictive orderings on `Arc::*_count`Ibraheem Ahmed-6/+6
2022-03-21add module-level documentation for vec's in-place iterationThe8472-20/+159
2022-03-21move AsIntoIter helper trait and mark it as unsafeThe8472-11/+14
2022-03-21rename module to better reflect its purposeThe8472-1/+1
2022-03-21Rename `~const Drop` to `~const Destruct`Deadbeef-11/+26
2022-03-20Auto merge of #92962 - frank-king:btree_entry_no_insert, r=Amanieubors-41/+86
2022-03-18impl From<&[T; N]> and From<&mut [T; N]> for Vec<T>Jake Goulding-0/+42
2022-03-18Make Weak::new constCAD97-4/+6
2022-03-16Docs: make Vec::from_raw_parts documentation less strictJP Posma-3/+7
2022-03-16BTree: evaluate static type-related check at compile timeStein Somers-7/+9
2022-03-15fix typosDylan DPC-1/+1
2022-03-14refactor: VecDeques Iter fields to privateDeveloperC-16/+17
2022-03-11Auto merge of #94472 - JmPotato:use_maybeuninit_for_vecdeque, r=m-ou-sebors-30/+95
2022-03-11Classify BinaryHeap & LinkedList unit tests as suchStein Somers-694/+692
2022-03-11Rollup merge of #94826 - allgoewer:fix-retain-documentation, r=yaahcDylan DPC-6/+6
2022-03-11Improve doc wording for retain on some collectionsMaik Allgöwer-6/+6
2022-03-10Rollup merge of #93950 - T-O-R-U-S:use-modern-formatting-for-format!-macros, ...Dylan DPC-82/+82
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-82/+82
2022-03-10Revert accidental stabilizationOli Scherer-3/+2
2022-03-10Use MaybeUninit in VecDeque to remove the undefined behavior of sliceJmPotato-30/+95
2022-03-09BTreeMap::entry: Avoid allocating if no insertionFrank King-41/+86
2022-03-09Rollup merge of #94699 - ssomers:btree_prune_insert, r=Dylan-DPCDylan DPC-40/+19
2022-03-07Stabilize const_fn_fn_ptr_basics and const_fn_trait_boundEric Holk-1/+1
2022-03-07BTree: remove dead data needlessly complicating insertStein Somers-40/+19
2022-02-28Rollup merge of #92399 - Veeupup:fix_vec_typo, r=Dylan-DPCMatthias Krüger-4/+4
2022-02-25Switch bootstrap cfgsMark Rousskov-1/+0