diff options
| author | bors <bors@rust-lang.org> | 2020-09-05 21:02:18 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-09-05 21:02:18 +0000 |
| commit | cdc8f0606d0f3c4f3866643382c8a5776d1bdaed (patch) | |
| tree | 68ebd8e07e6b89ec944ab5d1163eaccee08880f1 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | de921ab3c3aa25d65b1476d77285da1ca99af397 (diff) | |
| parent | 35068326b5966530225c8fc01bcdaa0fb4041138 (diff) | |
| download | rust-cdc8f0606d0f3c4f3866643382c8a5776d1bdaed.tar.gz rust-cdc8f0606d0f3c4f3866643382c8a5776d1bdaed.zip | |
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
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
