diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-10-27 08:44:41 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-27 08:44:41 +0900 |
| commit | 13e88d63662f682eb672ae21a99b4ca4ffffc7dd (patch) | |
| tree | 0602a3bfc468c33c50d4b1b34eb93d25231b0100 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | fd542592f08ca0d1f7255600115c2eafdf6b5da7 (diff) | |
| parent | 652f34d2709ec0c323ae632ba14992f80ebf7629 (diff) | |
| download | rust-13e88d63662f682eb672ae21a99b4ca4ffffc7dd.tar.gz rust-13e88d63662f682eb672ae21a99b4ca4ffffc7dd.zip | |
Rollup merge of #76635 - scottmcm:slice-as-chunks, r=LukasKalbertodt
Add [T]::as_chunks(_mut) Allows getting the slices directly, rather than just through an iterator as in `array_chunks(_mut)`. The constructors for those iterators are then written in terms of these methods, so the iterator constructors no longer have any `unsafe` of their own. Unstable, of course. #74985
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
