rust/library/alloc
bors cdc8f0606d Auto merge of #76217 - RalfJung:maybe-uninit-slice, r=KodrAus
rename MaybeUninit slice methods

The `first` methods conceptually point to the whole slice, not just its first element, so rename them to be consistent with the raw ptr methods on ref-slices.

Also, do the equivalent of https://github.com/rust-lang/rust/pull/76047 for the slice reference getters, and make them part of https://github.com/rust-lang/rust/issues/63569 (so far they somehow had no tracking issue).

* first_ptr -> slice_as_ptr
* first_ptr_mut -> slice_as_mut_ptr
* slice_get_ref -> slice_assume_init_ref
* slice_get_mut -> slice_assume_init_mut
2020-09-05 21:02:18 +00:00
..
benches fix benchmark compile errors 2020-09-03 20:59:33 +02:00
src Auto merge of #76217 - RalfJung:maybe-uninit-slice, r=KodrAus 2020-09-05 21:02:18 +00:00
tests remove empty Vec extend optimization 2020-09-03 20:59:35 +02:00
Cargo.toml