rust/library/alloc/src
Guillaume Gomez 6af6c40a12
Rollup merge of #81115 - ssomers:btree_drainy_refactor_4, r=Mark-Simulacrum
BTreeMap: prefer bulk_steal functions over specialized ones

The `steal_` functions (apart from their return value) are basically specializations of the more general `bulk_steal_` functions. This PR removes the specializations. The library/alloc benchmarks say this is never slower and up to 6% faster.

r? ``@Mark-Simulacrum``
2021-01-19 10:27:54 +01:00
..
alloc Rename AllocRef to Allocator and (de)alloc to (de)allocate 2020-12-04 14:47:15 +01:00
collections Rollup merge of #81115 - ssomers:btree_drainy_refactor_4, r=Mark-Simulacrum 2021-01-19 10:27:54 +01:00
prelude
raw_vec Rename AllocRef to Allocator and (de)alloc to (de)allocate 2020-12-04 14:47:15 +01:00
rc Re-stabilize Weak::as_ptr &friends for unsized T 2021-01-06 19:30:22 -05:00
sync Rollup merge of #80764 - CAD97:weak-unsized-as-ptr-again, r=RalfJung 2021-01-16 17:29:56 +00:00
vec Rollup merge of #80972 - KodrAus:deprecate/remove_item, r=nagisa 2021-01-14 18:00:18 +00:00
alloc.rs move WriteCloneIntoRaw into alloc::alloc 2021-01-12 12:24:28 -08:00
borrow.rs Mention Arc::make_mut and Rc::make_mut in the documentation of Cow 2020-12-28 17:13:28 +01:00
boxed.rs move WriteCloneIntoRaw into alloc::alloc 2021-01-12 12:24:28 -08:00
fmt.rs Convert a bunch of intra-doc links 2020-11-07 12:50:57 -08:00
lib.rs Rollup merge of #81112 - m-ou-se:alloc-std-ops-reexport, r=KodrAus 2021-01-19 10:27:53 +01:00
macros.rs Force vec! to expressions only 2021-01-17 12:48:25 +01:00
raw_vec.rs Auto merge of #78682 - glandium:issue78471, r=lcnr 2020-12-15 06:32:10 +00:00
rc.rs Rollup merge of #81069 - ogoffart:rc_new_cyclic_doc, r=Mark-Simulacrum 2021-01-16 17:30:15 +00:00
slice.rs Replace the tracking issue for the slice_group_by feature 2020-12-31 12:13:03 +01:00
str.rs Remove many unnecessary manual link resolves from library 2020-12-31 11:54:32 -08:00
string.rs Fix soundness issue for replace_range and range 2021-01-18 22:14:38 -05:00
sync.rs Rollup merge of #80764 - CAD97:weak-unsized-as-ptr-again, r=RalfJung 2021-01-16 17:29:56 +00:00
task.rs Don't mark ineffective_unstable_trait_impl as an internal lint 2021-01-15 17:31:10 -05:00
tests.rs