diff options
| author | bors <bors@rust-lang.org> | 2020-08-08 20:43:21 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-08-08 20:43:21 +0000 |
| commit | ceedf1d5febd65b012b8bcd513d70a0a6a091210 (patch) | |
| tree | 631365530d017dad461445f7397ec12a85e11b00 /src/test/rustdoc-ui/coverage/doc-examples.rs | |
| parent | 1facd4a77b181ad44b9c9a64f0fd21b6d5180458 (diff) | |
| parent | a2cfc74c5fda25795683e813364bb4b63309ee0d (diff) | |
| download | rust-ceedf1d5febd65b012b8bcd513d70a0a6a091210.tar.gz rust-ceedf1d5febd65b012b8bcd513d70a0a6a091210.zip | |
Auto merge of #75271 - cuviper:array-iter, r=LukasKalbertodt
Simplify array::IntoIter - Initialization can use `transmute_copy` to do the bitwise copy. - `as_slice` can use `get_unchecked` and `MaybeUninit::slice_get_ref`, and `as_mut_slice` can do similar. - `next` and `next_back` can use the corresponding `Range` methods. - `Clone` doesn't need any unsafety, and we can dynamically update the new range to get partial drops if `T::clone` panics. r? @LukasKalbertodt
Diffstat (limited to 'src/test/rustdoc-ui/coverage/doc-examples.rs')
0 files changed, 0 insertions, 0 deletions
