rust/src/libcore
bors 46dcffd05b Auto merge of #31052 - bluss:split-at-mut-str, r=alexcrichton
Use raw pointers to avoid aliasing in str::split_at_mut

Introduce private function  from_raw_parts_mut for str to factor out the logic.

We want to use raw pointers here instead of duplicating a &mut str, to
be on safer ground w.r.t rust aliasing rules.

This has already been fixed for slices in PR #27358, issue #27357
2016-01-21 20:51:34 +00:00
..
fmt std: Stabilize APIs for the 1.7 release 2016-01-16 11:03:10 -08:00
hash std: Stabilize APIs for the 1.7 release 2016-01-16 11:03:10 -08:00
num fix the docs and simplify the implementation of unsigned wrapping ops 2016-01-19 10:47:27 +01:00
prelude Add missing annotations and some tests 2015-11-18 01:24:21 +03:00
str core: Use raw pointers to avoid aliasing in str::split_at_mut 2016-01-21 15:25:49 +01:00
sync Add missing annotations and some tests 2015-11-18 01:24:21 +03:00
any.rs Implement Any for unsized types 2016-01-14 23:02:32 -08:00
array.rs Revert "PR #30130 Implement Clone for more arrays" 2015-12-07 00:29:21 +01:00
borrow.rs Move the Borrow and BorrowMut traits to libcore. 2015-08-22 13:58:39 +02:00
cell.rs Add missing annotations and some tests 2015-11-18 01:24:21 +03:00
char.rs Auto merge of #30624 - Ticki:specialization, r=alexcrichton 2016-01-16 21:38:39 +00:00
clone.rs Make note about traits that can be derived 2015-11-16 18:50:40 -05:00
cmp.rs Make note about traits that can be derived 2015-11-16 18:50:40 -05:00
convert.rs Make {Default, From, FromIterator, One, Zero} well-formed 2015-10-23 21:56:23 -04:00
default.rs libcore: deny warnings in doctests 2015-11-12 05:16:08 +00:00
intrinsics.rs Register new snapshots 2015-12-21 09:26:21 -08:00
iter.rs Fix some broken and missing links in the docs 2016-01-13 23:19:24 +00:00
lib.rs Register new snapshots 2015-12-21 09:26:21 -08:00
macros.rs Correct the documentation of debug_assert_eq 2015-12-29 11:01:35 -05:00
marker.rs Fix spacing style of T: Bound in docs 2016-01-17 23:44:33 +01:00
mem.rs doc: this is more easy to read, and less prone mis-interpretation 2016-01-14 21:38:18 +02:00
nonzero.rs Register new snapshots 2015-12-21 09:26:21 -08:00
ops.rs Auto merge of #30696 - steveklabnik:gh30655, r=brson 2016-01-19 17:34:20 +00:00
option.rs Require stability annotations on fields of tuple variants 2016-01-14 17:08:35 +03:00
panicking.rs Mark all extern functions as nounwind 2015-09-14 11:36:09 +02:00
ptr.rs Register new snapshots 2015-12-21 09:26:21 -08:00
raw.rs Correct spelling in docs 2015-10-13 09:44:11 -04:00
result.rs Require stability annotations on fields of tuple variants 2016-01-14 17:08:35 +03:00
slice.rs core: Restore indexed formulation of clone_from_slice 2016-01-18 15:28:00 +01:00
tuple.rs Add missing annotations and some tests 2015-11-18 01:24:21 +03:00