3 ms·
Rust has a tool for that, it's iterators. It is only limited however.
by est31 4y ago
Rust has a tool for that, it's iterators. It is only limited however.
- dathinab 4y agoalso `slice.get()` will return on option and using a range check manually before an index will normally optimize the internal bounds check away