rust/src/libstd
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
..
collections HashMap is UnwindSafe 2019-07-02 16:01:06 +02:00
ffi Expose VaListImpl as the Rust equivalent of __va_list_tag and implement Clone for it. 2019-06-17 16:04:49 -07:00
io Rollup merge of #62381 - pawroman:fix_typo_in_write_vectored, r=Centril 2019-07-05 20:27:02 +02:00
net Auto merge of #60145 - little-dude:ip2, r=alexcrichton 2019-06-01 03:46:13 +00:00
os std: Remove internal definitions of cfg_if! macro 2019-06-10 10:58:44 -07:00
prelude Replace SliceConcatExt trait with inherent methods and SliceConcat helper trait 2019-07-05 11:49:30 +02:00
sync Rollup merge of #62123 - jeremystucki:needless_lifetimes_std, r=alexcrichton 2019-07-05 13:52:58 +02:00
sys Rollup merge of #62296 - RalfJung:memalign, r=alexcrichton 2019-07-06 02:37:59 +02:00
sys_common Remove needless lifetimes 2019-07-01 12:15:27 +02:00
tests libstd => 2018 2019-02-28 04:06:15 +09:00
thread Auto merge of #60341 - mtak-:macos-tlv-workaround, r=alexcrichton 2019-06-20 02:36:49 +00:00
alloc.rs Fix intra-doc link resolution failure on re-exporting libstd 2019-05-04 23:48:57 +09:00
ascii.rs Remove licenses 2018-12-25 21:08:33 -07:00
build.rs Remove bitrig support from rust 2019-05-13 11:09:06 +02:00
Cargo.toml make sure we use cfg-if as a std dependency 2019-06-14 11:01:28 +02:00
env.rs Fix typo "spit_paths", add link 2019-05-23 19:38:23 -06:00
error.rs implement Error::source for Box<T: Error> 2019-06-17 11:24:09 +03:00
f32.rs Use stable wrappers 2019-06-08 09:36:46 +09:00
f64.rs Use stable wrappers 2019-06-08 09:36:46 +09:00
fs.rs Update libstd doctests to use dyn 2019-05-29 00:57:42 -04:00
future.rs Hide gen_future API from documentation 2019-06-04 19:22:30 +02:00
keyword_docs.rs Document while keyword 2019-07-07 22:17:26 +09:00
lib.rs Enable mem_take feature in relevant crates 2019-07-01 20:21:53 -07:00
macros.rs #[rustc_doc_only_macro] -> #[rustc_builtin_macro] 2019-07-06 16:59:08 +03:00
memchr.rs libstd => 2018 2019-02-28 04:06:15 +09:00
num.rs Reexport IntErrorKind in std 2019-04-23 00:15:43 +02:00
panic.rs HashMap is UnwindSafe 2019-07-02 16:01:06 +02:00
panicking.rs Convert more usages over 2019-07-01 20:21:12 -07:00
path.rs Revert "Add implementations of last in terms of next_back on a bunch of DoubleEndedIterators." 2019-05-22 14:09:34 -07:00
primitive_docs.rs Typo 2019-06-22 00:44:31 +02:00
process.rs std: Move a process test out of libstd 2019-06-27 07:54:53 -07:00
rt.rs libstd => 2018 2019-02-28 04:06:15 +09:00
time.rs libstd: deny(elided_lifetimes_in_paths) 2019-03-31 12:56:51 +02:00