about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorBen Kimock <kimockb@gmail.com>2022-03-24 23:56:33 -0400
committerThe 8472 <git@infinite-source.de>2022-04-02 19:48:24 +0200
commit4242335b1bd8c304eafdf8dfaa85ea9a08dbf77a (patch)
tree773636285fac3d21d18871ad57a9719d00d590c6 /compiler/rustc_mir_transform/src/coverage/debug.rs
parent07a461ad52b8485b184397b453b5436c70f9f460 (diff)
downloadrust-4242335b1bd8c304eafdf8dfaa85ea9a08dbf77a.tar.gz
rust-4242335b1bd8c304eafdf8dfaa85ea9a08dbf77a.zip
Additional `*mut [T]` methods
Split out from #94247

This adds the following methods to raw slices that already exist on regular slices

* `*mut [T]::is_empty`
* `*mut [T]::split_at_mut`
* `*mut [T]::split_at_unchecked`

These methods reduce the amount of unsafe code needed to migrate ChunksMut and related iterators
to raw slices (#94247)

Co-authored-by:: The 8472 <git@infinite-source.de>
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions