about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2018-01-02 02:13:20 +0200
committerSebastian Dröge <sebastian@centricular.com>2018-01-13 12:18:46 +0200
commit51d546f4aa8a94b81d2a580518d95d1ab12a3655 (patch)
treec490689fc10b38b4abf7e4494ea72d876c138ef9 /src/test/debuginfo/enum-thinlto.rs
parent2e33c89ff1518359c4bd5fbed1571ea00cb3b146 (diff)
downloadrust-51d546f4aa8a94b81d2a580518d95d1ab12a3655.tar.gz
rust-51d546f4aa8a94b81d2a580518d95d1ab12a3655.zip
Add slice::ExactChunks and ::ExactChunksMut iterators
These guarantee that always the requested slice size will be returned
and any leftoever elements at the end will be ignored. It allows llvm to
get rid of bounds checks in the code using the iterator.

This is inspired by the same iterators provided by ndarray.

See https://github.com/rust-lang/rust/issues/47115
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions