about summary refs log tree commit diff
path: root/src/liballoc/vec.rs
AgeCommit message (Expand)AuthorLines
2019-11-16Revise the text of `vec::split_off()` per review in #65739Mahmoud Al-Qudsi-4/+3
2019-11-16Improve documentation of `Vec::split_off(...)`Mahmoud Al-Qudsi-4/+4
2019-11-15Auto merge of #64432 - gnzlbg:simplify_truncate, r=alexcrichtonbors-22/+12
2019-11-13Doc: Fix link to Exten in Vec::set_lenElichai Turkel-1/+1
2019-10-28Rollup merge of #65887 - lzutao:doc-vec-get, r=rkruppeMazdak Farrokhzad-2/+4
2019-10-28doc: mention `get(_mut)` in VecLzu Tao-2/+4
2019-10-27doc: explain why it is unsafe to construct Vec<u8> from Vec<u16>Lzu Tao-1/+5
2019-10-25Add {String,Vec}::into_raw_partsJake Goulding-0/+39
2019-10-25Use ManuallyDrop in examples for {Vec,String}::from_raw_partsJake Goulding-5/+5
2019-10-01Rollup merge of #64912 - lzutao:unneeded-main-doc, r=jonas-schievinkMazdak Farrokhzad-24/+20
2019-10-01Remove unneeded `fn main` blocks from docsLzu Tao-24/+20
2019-09-30Rollup merge of #64893 - SimonSapin:vec-of-option-box, r=sfacklerTyler Mandry-0/+25
2019-09-29Zero-initialize `vec![None; n]` for `Option<&T>`, `Option<&mut T>` and `Optio...Simon Sapin-0/+25
2019-09-29Fix `vec![x; n]` with null raw fat pointer zeroing the pointer metadataSimon Sapin-2/+2
2019-09-25Snap cfgs to new betaMark Rousskov-2/+1
2019-09-16Const-stabilize `Vec::new`.Mazdak Farrokhzad-2/+2
2019-09-15Make the semantics of Vec::truncate(N) consistent with slices.gnzlbg-22/+12
2019-09-11Guarantee vec.clear/truncate is O(1) for trivial typesKornel-13/+17
2019-08-30Add a "diagnostic item" schemeOliver Scherer-0/+1
2019-08-16Rename CollectionAllocError to TryReserveErrorSimon Sapin-7/+7
2019-07-28Use const generics for some Vec/CCow impls.Mazdak Farrokhzad-33/+23
2019-07-25Auto merge of #60340 - mgeier:cap-vs-capacity, r=alexcrichtonbors-4/+4
2019-07-08Auto merge of #61224 - aloucks:drain_filter, r=Gankrobors-9/+60
2019-07-07Clarify double-drop commentAaron Loucks-1/+1
2019-07-07Remove while loop in DrainFilter::drop and add additional docsAaron Loucks-19/+21
2019-06-28Add Vec::leakTaylor Cramer-0/+34
2019-06-01Succinctify splice docsFelix Rabe-6/+4
2019-05-27Refactor DrainFilter::next and update commentsAaron Loucks-16/+13
2019-05-27Fix formatting nitAaron Loucks-2/+1
2019-05-26Prevent Vec::drain_filter from double dropping on panicAaron Loucks-10/+63
2019-05-25shadow as_ptr as as_mut_ptr in Vec to avoid going through DerefRalf Jung-7/+71
2019-05-23fix dangling reference in Vec::appendRalf Jung-1/+1
2019-05-22Revert "Add implementations of last in terms of next_back on a bunch of Doubl...Steven Fackler-14/+0
2019-05-14Rollup merge of #60130 - khuey:efficient_last, r=sfacklerMazdak Farrokhzad-0/+14
2019-05-10Add examples of ordered retainJosh Stone-0/+10
2019-04-29Document the order of {Vec,VecDeque,String}::retainJosh Stone-2/+2
2019-04-27Rename .cap() methods to .capacity()Matthias Geier-4/+4
2019-04-19Add implementations of last in terms of next_back on a bunch of DoubleEndedIt...Kyle Huey-0/+14
2019-03-09Use lifetime contravariance to elide more lifetimes in core+alloc+stdScott McMurray-8/+8
2019-03-05Add a tracking issue for new as_slice methodsJosh Stone-1/+1
2019-03-04Add as_slice() to slice::IterMut and vec::DrainJosh Stone-0/+19
2019-03-01Fix typo in Vec#resize_with documentationJens Hausdorf-1/+1
2019-02-23Rollup merge of #58628 - RReverser:optimise-vec-false, r=oli-obkMazdak Farrokhzad-0/+1
2019-02-22Rollup merge of #57656 - scottmcm:deprecate-resize_default, r=SimonSapinMazdak Farrokhzad-0/+4
2019-02-21Optimise vec![false; N] to zero-allocIngvar Stepanyan-0/+1
2019-02-20Rollup merge of #58553 - scottmcm:more-ihle, r=Centrilkennytm-1/+1
2019-02-17Use more impl header lifetime elisionScott McMurray-1/+1
2019-02-10libs: doc commentsAlexander Regueiro-4/+4
2019-02-10tests: doc commentsAlexander Regueiro-1/+1
2019-02-03liballoc: revert nested imports style changes.Mazdak Farrokhzad-23/+16