rust/src/liballoc
Mazdak Farrokhzad 9ae7fb3e71
Rollup merge of #66759 - CAD97:patch-3, r=KodrAus
impl TrustedLen for vec::Drain

The iterator methods just forward to `slice::Iter`, which is `TrustedLen`.

This can probably be applied to other `Drain` structs as well.
2019-11-30 16:56:49 +01:00
..
alloc liballoc: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
benches introduce benchmarks of HashSet operations 2019-11-14 12:59:35 +01:00
collections Fix spelling typos 2019-11-26 22:19:54 -05:00
prelude Replace SliceConcatExt trait with inherent methods and SliceConcat helper trait 2019-07-05 11:49:30 +02:00
raw_vec A few cosmetic improvements to code & comments in liballoc and libcore 2019-09-06 16:02:25 +01:00
rc Add implementations for converting boxed slices into boxed arrays 2019-08-05 10:26:53 -04:00
sync Add implementations for converting boxed slices into boxed arrays 2019-08-05 10:26:53 -04:00
tests Fix spelling typos 2019-11-26 22:19:54 -05:00
alloc.rs Snap cfgs to new beta 2019-09-25 08:42:46 -04:00
borrow.rs Add Cow::is_borrowed and Cow::is_owned 2019-10-22 19:56:41 -04:00
boxed.rs alloc: Add new_zeroed() versions like new_uninit(). 2019-11-05 19:27:42 +01:00
Cargo.toml bump rand to fix Miri failures 2019-08-04 14:50:26 +02:00
fmt.rs example for padding any format 2019-10-17 23:02:09 +02:00
lib.rs gate rustc_on_unimplemented under rustc_attrs 2019-11-06 07:34:51 +01:00
macros.rs Scope format! temporaries 2019-09-27 17:36:45 -04:00
raw_vec.rs Const-stabilize Vec::new. 2019-09-16 16:45:16 +02:00
rc.rs Rollup merge of #66128 - emilio:new-zeroed, r=SimonSapin 2019-11-26 17:56:05 -06:00
slice.rs Stabilize slice::repeat (feature repeat_generic_slice) 2019-10-02 04:48:15 +00:00
str.rs Apply clippy::needless_return suggestions 2019-10-22 19:23:10 +02:00
string.rs Rollup merge of #66111 - RalfJung:from_raw_parts, r=Centril 2019-11-07 09:20:41 +09:00
sync.rs Rollup merge of #66128 - emilio:new-zeroed, r=SimonSapin 2019-11-26 17:56:05 -06:00
tests.rs Add implementations for converting boxed slices into boxed arrays 2019-08-05 10:26:53 -04:00
vec.rs Rollup merge of #66759 - CAD97:patch-3, r=KodrAus 2019-11-30 16:56:49 +01:00