3 ms·
> in idiomatic Rust I did not find the use of unsigned as mentioned in the article, signed for indexes is the norm Huh? If you write things[n] in Rust, and n i
by tialaramex 5y ago
> in idiomatic Rust I did not find the use of unsigned as mentioned in the article, signed for indexes is the norm
Huh? If you write things[n] in Rust, and n isn't usize that's an error, you can't index things with the other primitive types at all out of the box.