about summary refs log tree commit diff
path: root/library/alloc
AgeCommit message (Expand)AuthorLines
2021-01-18Avoid hash_slice in VecDeque's Hash implementationKonrad Borowski-3/+47
2021-01-18BTreeMap: prefer bulk_steal functions over specialized onesStein Somers-121/+8
2021-01-18BTreeMap: convert search functions to methodsStein Somers-83/+83
2021-01-18Auto merge of #81090 - ssomers:btree_drainy_refactor_2, r=Mark-Simulacrumbors-34/+60
2021-01-18Format codeoxalica-6/+2
2021-01-17Auto merge of #80524 - jyn514:unknown-tool-lints, r=flip1995,matthewjasperbors-2/+4
2021-01-18Optimize Vec::retainoxalica-11/+140
2021-01-17Rollup merge of #81082 - ssomers:btree_cleanup_comments, r=Mark-SimulacrumMara Bos-6/+8
2021-01-17Rollup merge of #81080 - bugadani:vec-diag, r=oli-obk,m-ou-seMara Bos-4/+12
2021-01-17Force vec! to expressions onlyDániel Buga-4/+12
2021-01-17Remove unused alloc::std::ops re-export.Mara Bos-5/+0
2021-01-17Auto merge of #81083 - ssomers:btree_drainy_refactor_1, r=Mark-Simulacrumbors-13/+14
2021-01-16BTreeMap: offer merge in variants with more clarityStein Somers-34/+60
2021-01-16Rollup merge of #81069 - ogoffart:rc_new_cyclic_doc, r=Mark-SimulacrumMara Bos-0/+20
2021-01-16Rollup merge of #80764 - CAD97:weak-unsized-as-ptr-again, r=RalfJungMara Bos-95/+153
2021-01-16Rollup merge of #80681 - ChrisJefferson:logic-error-doc, r=m-ou-seMara Bos-1/+10
2021-01-16BTreeMap: expose new_internal function and sanitize from_new_internalStein Somers-13/+14
2021-01-16BTreeMap: clean up a few more commentsStein Somers-6/+8
2021-01-16Auto merge of #77435 - hanmertens:binary_heap_append, r=scottmcmbors-2/+8
2021-01-16Clarify what the effects of a 'logic error' areChris Jefferson-1/+10
2021-01-16Add sample code for Rc::new_cyclicOlivier Goffart-0/+20
2021-01-16Auto merge of #80873 - ssomers:btree_cleanup_slices_4, r=Mark-Simulacrumbors-81/+88
2021-01-15Don't mark `ineffective_unstable_trait_impl` as an internal lintJoshua Nelson-2/+4
2021-01-15Change rebuild heuristic in BinaryHeap::appendHan Mertens-2/+8
2021-01-15Rollup merge of #80834 - bugadani:vecdeque, r=oli-obkYuki Okushi-5/+4
2021-01-14Remove unreachable panics from VecDequeDániel Buga-5/+4
2021-01-14Rollup merge of #80972 - KodrAus:deprecate/remove_item, r=nagisaMara Bos-21/+0
2021-01-14Rollup merge of #80966 - KodrAus:deprecate/spin_loop_hint, r=m-ou-seMara Bos-1/+1
2021-01-13Apply suggestions from code reviewChristopher Durham-2/+2
2021-01-13Auto merge of #80824 - cuviper:heap-clones, r=kennytmbors-23/+65
2021-01-13Auto merge of #77858 - ijackson:split-inclusive, r=KodrAusbors-1/+0
2021-01-13deprecate atomic::spin_loop_hint in favour of hint::spin_loopAshley Mannix-1/+1
2021-01-13remove unstable deprecated Vec::remove_itemAshley Mannix-21/+0
2021-01-12move WriteCloneIntoRaw into alloc::allocJosh Stone-27/+31
2021-01-12Add Box::downcast() for dyn Any + Send + SyncSebastian Dröge-0/+33
2021-01-11Move directly when Rc/Arc::make_mut splits from WeakJosh Stone-14/+13
2021-01-11Specialize Rc/Arc::make_mut clones to try to avoid localsJosh Stone-5/+18
2021-01-11Specialize Box clones to try to avoid localsJosh Stone-2/+28
2021-01-10Weak::into_raw shouldn't translate sentinel valueCAD97-27/+21
2021-01-11Add another test case for #79808Yuki Okushi-0/+15
2021-01-10BTreeMap: tougher checks on code using raw into_kv_pointersStein Somers-81/+88
2021-01-10Auto merge of #80391 - ssomers:btree_cleanup_slices_3, r=Mark-Simulacrumbors-26/+32
2021-01-09Add comment to `Vec::truncate` explaining `>` vs `>=`Camelid-0/+3
2021-01-09Provide reasoning for rc data_offset safetyCAD97-8/+12
2021-01-08BTreeMap: tougher checks on most uses of copy_nonoverlappingStein Somers-26/+32
2021-01-07Replace set_data_ptr with pointer::set_ptr_valueCAD97-32/+5
2021-01-07Reclarify Weak<->raw pointer safety commentsCAD97-4/+4
2021-01-07Remove "pointer describes" terminologyCAD97-10/+8
2021-01-07Tighten/clarify documentation of rc data_offsetCAD97-10/+4
2021-01-07Auto merge of #79863 - JohnTitor:compiler-builtins, r=bjorn3bors-2/+2