about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-06-02 06:44:25 +0900
committerGitHub <noreply@github.com>2022-06-02 06:44:25 +0900
commit3ed9bbe9700f8ea46528dedb9fb242167b01a802 (patch)
treee8951fc6544c5f49599533eea00aeadd4cfb919d /compiler/rustc_codegen_gcc
parentb5a2d27f8f59df6f2162e61461b41d6116d4815e (diff)
parentb0ca46e90d1304512decc1f9c3d50422e109080c (diff)
downloadrust-3ed9bbe9700f8ea46528dedb9fb242167b01a802.tar.gz
rust-3ed9bbe9700f8ea46528dedb9fb242167b01a802.zip
Rollup merge of #95594 - the8472:raw_slice_methods, r=yaahc
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_mut_unchecked`

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

r? `@m-ou-se`
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions