rust/src/libcore
Ulrik Sverdrup ba9a3bc453 core: 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.
2016-01-21 15:25:49 +01: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 std: Stabilize APIs for the 1.7 release 2016-01-16 11:03:10 -08: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 Link Nomicon in PhantomData's docs 2016-01-07 14:18:15 -05: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 doc: these examples do not need Copy and Clone traits 2016-01-04 22:38:27 +02: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 std: Stabilize APIs for the 1.7 release 2016-01-16 11:03:10 -08:00
tuple.rs Add missing annotations and some tests 2015-11-18 01:24:21 +03:00