rust/src/liballoc
kennytm 67cf3ba528
Rollup merge of #51807 - newpavlov:deprecate_str_slice, r=alexcrichton
Deprecation of str::slice_unchecked(_mut)

Closes #51715

I am not sure if 1.28.0 or 1.29.0 should be used for deprecation version, for now it's 1.28.0.

Additionally I've replaced `slice_unchecked` uses with `get_unchecked`. The only places where this method is still used are `src/liballoc/tests/str.rs` and `src/liballoc/tests/str.rs`.
2018-07-22 22:10:09 +08:00
..
benches Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
collections data_structures: Add a reference wrapper for pointer-indexed maps/sets 2018-07-20 12:22:24 +03:00
tests Rollup merge of #51807 - newpavlov:deprecate_str_slice, r=alexcrichton 2018-07-22 22:10:09 +08:00
alloc.rs Rename OOM to allocation error 2018-06-18 21:41:24 +02:00
borrow.rs Add #[must_use] to a few standard library methods 2018-03-30 23:06:05 -07:00
boxed.rs Revert borked changes in last commit. 2018-07-11 10:19:54 +02:00
boxed_test.rs Add missing dyn in liballoc 2018-07-10 22:32:19 +02:00
Cargo.toml Switch to 1.26 bootstrap compiler 2018-05-17 08:47:25 -06:00
fmt.rs Reexport fmt::Alignment into std 2018-06-03 17:04:48 +02:00
lib.rs Revert borked changes in last commit. 2018-07-11 10:19:54 +02:00
macros.rs fix some typos 2017-11-21 15:33:45 +01:00
prelude.rs Add the alloc::prelude module 2018-07-07 23:08:43 +02:00
raw_vec.rs Move core::alloc::CollectionAllocErr to alloc::collections 2018-06-29 14:01:33 +02:00
rc.rs Revert borked changes in last commit. 2018-07-11 10:19:54 +02:00
repeat-generic-slice.rs Add run-pass test for repeat-generic-slice feature 2018-03-28 09:02:27 +02:00
slice.rs Rollup merge of #51147 - tmccombs:sliceindex, r=SimonSapin 2018-06-02 13:14:25 -06:00
str.rs Rollup merge of #51807 - newpavlov:deprecate_str_slice, r=alexcrichton 2018-07-22 22:10:09 +08:00
string.rs Rollup merge of #51807 - newpavlov:deprecate_str_slice, r=alexcrichton 2018-07-22 22:10:09 +08:00
sync.rs Revert borked changes in last commit. 2018-07-11 10:19:54 +02:00
task.rs #[cfg(target_has_atomic_cas)] -> #[cfg(target_has_atomic = "cas")] 2018-07-05 16:52:46 -05:00
vec.rs Removed a single trailing space. Oops. 2018-07-09 06:31:24 +02:00