about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/doc-examples.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-07-14 08:56:06 +0000
committerbors <bors@rust-lang.org>2020-07-14 08:56:06 +0000
commitc724b67e1b474262917a5154d74e7072267593fe (patch)
tree41a041b6e60f64d3eb8cf2d58534c5cb5ebfbd1f /src/test/rustdoc-ui/coverage/doc-examples.rs
parent4a689da944977496fb758cc2d700984cc6a10b7f (diff)
parent7779a11448927e208ed6eb9bb609dd23595f77ce (diff)
downloadrust-c724b67e1b474262917a5154d74e7072267593fe.tar.gz
rust-c724b67e1b474262917a5154d74e7072267593fe.zip
Auto merge of #73490 - CAD97:range-unchecked-stepping, r=Amanieu
Use step_unchecked more liberally in range iter impls

Without these `_unchecked`, these operations on iterators of `char` fail to optimize out the unreachable panicking condition on overflow.

cc @cuviper https://github.com/rayon-rs/rayon/pull/771 where this was discovered.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/doc-examples.rs')
0 files changed, 0 insertions, 0 deletions