122da1de3b
3339: Check for known array length in `needless_range_loop` r=phansch a=HMPerson1 In `VarVisitor`, we now keep track of the type of the thing that was directly indexed and, if it's an array, check if the range's end is (or is past) the array's length. Fixes #3033 Co-authored-by: HMPerson1 <hmperson1@gmail.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |