Since for loops are statically analyzed to have an upper bound, and the loop counter is a usize, it is impossible for it to overflow.
Andrew Kelley committed on 2/19/2023, 2:20:19 AMparent8b05205
4 files changedLine totals unavailable
Since for loops are statically analyzed to have an upper bound, and the loop counter is a usize, it is impossible for it to overflow.