about summary refs log tree commit diff
path: root/library/alloc
AgeCommit message (Collapse)AuthorLines
2020-07-29Simplify implementations of `AllocRef` for `Global` and `System`Tim Diekmann-71/+70
2020-07-29Remove deprecated unstable `{Box,Rc,Arc}::into_raw_non_null` functionsSimon Sapin-91/+1
FCP: https://github.com/rust-lang/rust/issues/47336#issuecomment-619369613
2020-07-29Stabilize `Vec::leak`Simon Sapin-3/+1
2020-07-29Make `Vec::leak` a method instead of an associated function.Simon Sapin-3/+3
The reason for `Box::leak` not to be a method (`Deref` to an arbitrary `T` which might have its own, different `leak` method) does not apply.
2020-07-29Link to syntax section when referencing itTomasz Miąsko-1/+1
2020-07-29Explain why inline default ToString implLzu Tao-0/+3
2020-07-28Remove into_slices and its unsafe blockStein Somers-10/+3
2020-07-28Stabilize deque_make_contiguousJon Gjengset-5/+8
Closes #70929.
2020-07-28Remove in-place allocation and revert to separate methods for zeroed allocationsTim Diekmann-93/+105
Fix docs
2020-07-28Add str::[r]split_onceAleksey Kladov-0/+25
This is useful for quick&dirty parsing of key: value config pairs
2020-07-28Don't use "weak count" around Weak::from_raw_ptrMichal 'vorner' Vaner-20/+22
As `Rc/Arc::weak_count` returns 0 when having no strong counts, this could be confusing and it's better to avoid using that completely. Closes #73840.
2020-07-27mv std libs to library/mark-0/+44206