diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-14 07:39:00 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-14 07:39:00 -0700 |
| commit | 79894dfbacf76ba7e670fc5bff2fa7f2f3c06597 (patch) | |
| tree | ae8b222182457f18a8c273dc6616f5a8272d6a0d /src/libstd/sys | |
| parent | 6a4faa2da18330c067babb6acf9041c599c4ad27 (diff) | |
| parent | ff5e1078fc911c6ca97c64fbaefe7a2aebedbb0d (diff) | |
| download | rust-79894dfbacf76ba7e670fc5bff2fa7f2f3c06597.tar.gz rust-79894dfbacf76ba7e670fc5bff2fa7f2f3c06597.zip | |
Rollup merge of #73986 - RalfJung:raw-slice-as-ptr, r=sfackler
add (unchecked) indexing methods to raw (and NonNull) slices This complements the existing (unstable) `len` method. Unfortunately, for non-null slices, we cannot call this method `as_ptr` as that overlaps with the existing method of the same name. If this looks reasonable to accept, I propose to reuse the https://github.com/rust-lang/rust/issues/71146 tracking issue and rename the feature get to `slice_ptr_methods` or so. Cc @SimonSapin Fixes https://github.com/rust-lang/rust/issues/60639
Diffstat (limited to 'src/libstd/sys')
0 files changed, 0 insertions, 0 deletions
