mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
5c1304205b
Improve code example for length comparison Small fix/improvement: it's much safer to check that you're under the length of an array rather than chacking that you're equal to it. It's even more true in case you update the length of the array while iterating. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |