2 ms·
Rust actually has both [0..=n] is inclusive https://doc.rust-lang.org/std/ops/struct.RangeToInclusive.html https://doc.rust-lang.org/std/ops/struct.RangeToIncl
by nicoburns 8y ago
Rust actually has both [0..=n] is inclusive
https://doc.rust-lang.org/std/ops/struct.RangeToInclusive.html https://doc.rust-lang.org/std/ops/struct.RangeToInclusive.ht...