mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 04:55:22 +03:00
51d546f4aa
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