rust/src/liballoc
bors 8b7f164eab Auto merge of #52994 - varkor:trim_direction, r=alexcrichton
Add trim_start, trim_end etc.; deprecate trim_left, trim_right, etc. in future

Adds the methods: `trim_start`, `trim_end`, `trim_start_matches` and `trim_end_matches`.
Deprecates `trim_left`, `trim_right`, `trim_left_matches` and `trim_right_matches` starting from Rust 1.33.0, three versions from when they'll initially be marked as being deprecated, using the future deprecation from https://github.com/rust-lang/rust/issues/30785 and https://github.com/rust-lang/rust/pull/51681.

Fixes https://github.com/rust-lang/rust/issues/30459.
2018-09-05 23:45:08 +00:00
..
benches Auto merge of #52553 - Pazzaz:vecdeque-append, r=SimonSapin 2018-08-18 08:56:12 +00:00
collections Breaking change upgrades 2018-09-04 13:22:08 -06:00
tests Auto merge of #52994 - varkor:trim_direction, r=alexcrichton 2018-09-05 23:45:08 +00:00
alloc.rs Replace usages of ptr::offset with ptr::{add,sub}. 2018-08-20 07:28:34 -04:00
borrow.rs Review fix 2018-08-15 22:06:35 +03:00
boxed.rs attempt to work around Box<T> not being recognized as local type 2018-08-23 01:37:03 +03:00
boxed_test.rs Add missing dyn in liballoc 2018-07-10 22:32:19 +02:00
Cargo.toml Breaking change upgrades 2018-09-04 13:22:08 -06:00
fmt.rs Reexport fmt::Alignment into std 2018-06-03 17:04:48 +02:00
lib.rs Restrict most uses of const_fn to min_const_fn 2018-08-31 08:40:00 +02:00
macros.rs fix some typos 2017-11-21 15:33:45 +01:00
pin.rs remove copyright headers now that they are not madatory 2018-08-25 00:07:00 +03:00
prelude.rs Add the alloc::prelude module 2018-07-07 23:08:43 +02:00
raw_vec.rs Rollup merge of #53329 - frewsxcv:frewsxcv-ptr-add-sub, r=RalfJung 2018-08-21 22:05:30 +08:00
rc.rs Auto merge of #53530 - kennytm:rollup, r=kennytm 2018-08-21 16:04:11 +00:00
slice.rs Replace usages of ptr::offset with ptr::{add,sub}. 2018-08-20 07:28:34 -04:00
str.rs docs: std::string::String.repeat(): slightly rephrase to be more in-line with other descriptions. 2018-08-22 08:35:34 +02:00
string.rs docs: std::string::String.repeat(): slightly rephrase to be more in-line with other descriptions. 2018-08-22 08:35:34 +02:00
sync.rs Add clearer wording to Arc clone example code 2018-08-31 11:21:01 +03:00
task.rs Switch to bootstrapping from 1.29 beta 2018-08-01 11:59:08 -06:00
vec.rs Replace usages of ptr::offset with ptr::{add,sub}. 2018-08-20 07:28:34 -04:00