about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/json.rs
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2020-02-24 11:15:33 +0100
committerGitHub <noreply@github.com>2020-02-24 11:15:33 +0100
commitc293ac9503bd7c5055b0d37ccee4d061fc28f61c (patch)
tree2956885150b86b146d6f9332720eb3cfc747a6a4 /src/test/rustdoc-ui/coverage/json.rs
parentd73aa67208447dcc38c01bb01b513eccf3dfc3d2 (diff)
parent2cf339aeda77f29a8ad609f88b67591e0a668b89 (diff)
downloadrust-c293ac9503bd7c5055b0d37ccee4d061fc28f61c.tar.gz
rust-c293ac9503bd7c5055b0d37ccee4d061fc28f61c.zip
Rollup merge of #69386 - danielhenrymantilla:maybe_uninit_docs_replace_chunk_with_windows, r=Dylan-DPC
Fix minor error in `MaybeUninit::get_mut()` doc example

In the `MaybeUninit::get_mut()` example I wanted to assert that the slice was sorted and mistakenly used `.chunks(2)` rather than `.windows(2)` to assert it, as @ametisf pointed out in https://github.com/rust-lang/rust/pull/65948#issuecomment-589988183 .

This fixes it.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions