about summary refs log tree commit diff
path: root/src/liballoc/vec.rs
AgeCommit message (Expand)AuthorLines
2018-09-23Make the `Vec::dedup` method use `slice::partition_dedup` internallyClément Renault-84/+6
2018-09-23Introduce the partition_dedup/by/by_key methods for slicesClément Renault-5/+5
2018-09-16use mem::zeroed to make up ZST valuesRalf Jung-4/+4
2018-08-29fix some uses of pointer intrinsics with invalid pointersRalf Jung-6/+4
2018-08-20Replace usages of ptr::offset with ptr::{add,sub}.Corey Farwell-16/+16
2018-07-31Use SetLenOnDrop in Vec::truncate()Laurentiu Nicola-6/+17
2018-07-09Removed a single trailing space. Oops.Orson Peters-1/+1
2018-07-09Reimplemented Vec's swap_remove to not rely on pop.Orson Peters-4/+6
2018-07-09Performance improvement of Vec's swap_remove.Orson Peters-3/+7
2018-06-29Move core::alloc::CollectionAllocErr to alloc::collectionsSimon Sapin-1/+1
2018-06-19Add message to `rustc_on_unimplemented` attributes in coreEsteban Küber-2/+8
2018-05-24stabilize RangeBounds collections_range #30877Cory Sherman-2/+2
2018-05-21Auto merge of #50739 - gnzlbg:vec_reserve, r=sfacklerbors-2/+2
2018-05-17Switch to 1.26 bootstrap compilerMark Simulacrum-3/+0
2018-05-17Rollup merge of #50170 - burtonageo:more_cow_from, r=alexcrichtonkennytm-0/+7
2018-05-14Switch Vec from doubling size on growth to using RawVec's reservegnzlbg-2/+2
2018-05-09std: Avoid `ptr::copy` if unnecessary in `vec::Drain`Alex Crichton-3/+5
2018-05-09Update features to 1.28.0George Burton-1/+1
2018-04-29use const trickMark Mansi-1/+1
2018-04-27Update the stable attributes to use the current nightly version numberGeorge Burton-1/+1
2018-04-26not insta-stableMark Mansi-0/+1
2018-04-26make Vec::new const :PMark Mansi-1/+1
2018-04-25Make Vec::new constMark Mansi-1/+1
2018-04-22Implement From for more types on CowGeorge Burton-0/+7
2018-04-21Add some f32 and f64 inherent methods in libcoreSimon Sapin-0/+1
2018-04-17Rollup merge of #49555 - nox:inline-into-boxed, r=alexcrichtonkennytm-1/+3
2018-04-16Auto merge of #48945 - clarcharr:iter_exhaust, r=Kimundibors-6/+3
2018-04-15Remove #[inline(always)] on Vec::into_boxed_sliceAnthony Ramine-1/+0
2018-04-14Cleanup liballoc use statementsMike Hommey-1/+1
2018-04-12Auto merge of #49551 - scottmcm:deprecate-offset_to, r=KodrAusbors-3/+4
2018-04-08Remove inline on Vec::shrink_to_fit as asked by AlexAnthony Ramine-1/+0
2018-04-05Rollup merge of #49496 - glandium:master, r=sfacklerkennytm-26/+55
2018-04-04Replace manual iter exhaust with for_each(drop).Clar Charr-6/+3
2018-04-04Rollup merge of #49559 - djc:resize-with, r=TimNNkennytm-7/+57
2018-04-03Introduce Vec::resize_with method (see #41758)Dirkjan Ochtman-7/+57
2018-04-03Remove all unstable placement featuresAidan Hobson Sayers-75/+1
2018-04-02Add vec!['\0'; n] optimization, like vec![0; n]Mike Hommey-0/+2
2018-04-02Add vec![ptr::null{,_mut}(); n] optimization, like vec![0; n]Mike Hommey-26/+53
2018-04-01Inline most of the code paths for conversions with boxed slicesAnthony Ramine-1/+5
2018-03-31Deprecate offset_to; switch core&alloc to using offset_from insteadScott McMurray-3/+4
2018-03-30Rollup merge of #49466 - glandium:master, r=rkruppekennytm-2/+2
2018-03-29Move RangeArguments to {core::std}::ops and rename to RangeBoundsSimon Sapin-4/+3
2018-03-29Move alloc::Bound to {core,std}::opsSimon Sapin-1/+1
2018-03-29Use f{32,64}::to_bits for is_zero test in vec::SpecFromElemMike Hommey-2/+2
2018-03-28Rollup merge of #49452 - frewsxcv:frewsxcv-vec-cap-len, r=dtolnaykennytm-3/+4
2018-03-28Clarify "length" wording in `Vec::with_capacity`.Corey Farwell-3/+4
2018-03-27Implement `shrink_to` method on collectionsDiggory Blake-1/+26
2018-03-14implementing fallible allocation API (try_reserve) for Vec, String and HashMapsnf-0/+78
2018-03-09Add missing urlsGuillaume Gomez-7/+14
2018-03-06Rollup merge of #47463 - bluss:fused-iterator, r=alexcrichtonkennytm-2/+2