Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an overflow check in the Iter::next() impl for Range<_>
This helps with vectorization in some cases, such as (0..u16::MAX).collect::<Vec<u16>>(), as LLVM is able to change the loop condition to use equality instead of less than
- Loading branch information