rust/src/liballoc
Mazdak Farrokhzad bc18981f21
Rollup merge of #62403 - SimonSapin:concat, r=alexcrichton
Replace SliceConcatExt trait with inherent methods and SliceConcat helper trait

Before this change `SliceConcatExt` was an unstable extension trait with stable methods. It was in the libstd prelude, so that its methods could be used on the stable channel.

This replaces it with inherent methods, which can be used without any addition to the prelude. Since the methods are stable and very generic (with for example a return type that depends on the types of parameters), an helper trait is still needed. But now that trait does not need to be in scope for the methods to be used.

Removing this depedency on the libstd prelude allows the methods to be used in `#![no_std]` crate that use liballoc, which does not have its own implicitly-imported prelude.
2019-07-09 04:52:38 +02:00
..
benches improve worst-case performance of BTreeSet difference and intersection 2019-03-29 12:18:20 +01:00
collections Rollup merge of #62123 - jeremystucki:needless_lifetimes_std, r=alexcrichton 2019-07-05 13:52:58 +02:00
prelude Replace SliceConcatExt trait with inherent methods and SliceConcat helper trait 2019-07-05 11:49:30 +02:00
tests Auto merge of #61224 - aloucks:drain_filter, r=Gankro 2019-07-08 22:03:26 +00:00
alloc.rs Switch master to 1.38 2019-07-04 11:26:57 -04:00
borrow.rs warn(missing_docs) in liballoc, and add missing docs 2019-04-15 16:35:50 +02:00
boxed.rs Add tracking issue for Box::into_pin 2019-07-04 12:57:34 +02:00
Cargo.toml Update the compiler_builtins crate 2019-05-17 07:17:15 -07:00
fmt.rs Make clear that format padding doesn't work for Debug 2019-04-13 15:39:49 +10:00
lib.rs Switch master to 1.38 2019-07-04 11:26:57 -04:00
macros.rs Hygienize macros in the standard library 2019-06-12 20:27:29 +03:00
raw_vec.rs avoid materializing unintialized Boxes in RawVec 2019-05-27 11:15:31 +03:00
rc.rs Rollup merge of #61862 - vorner:weak-into-raw-methods, r=sfackler 2019-07-06 22:14:35 +02:00
slice.rs Replace SliceConcatExt trait with inherent methods and SliceConcat helper trait 2019-07-05 11:49:30 +02:00
str.rs Replace SliceConcatExt trait with inherent methods and SliceConcat helper trait 2019-07-05 11:49:30 +02:00
string.rs Rollup merge of #62123 - jeremystucki:needless_lifetimes_std, r=alexcrichton 2019-07-05 13:52:58 +02:00
sync.rs Rollup merge of #61862 - vorner:weak-into-raw-methods, r=sfackler 2019-07-06 22:14:35 +02:00
tests.rs Separate liballoc module 2019-06-16 13:08:09 +03:00
vec.rs Auto merge of #61224 - aloucks:drain_filter, r=Gankro 2019-07-08 22:03:26 +00:00