Hacker News new | ask | show | jobs
by rmc 3345 days ago
> index out-of-bound issues

You sure about that? You can still get Rust to panic if you try to index a vec past the end...

1 comments

A panic is significantly different than an actual out of bound access; the latter is the cause of a lot of issues, but a panic is preventing those issues.
Ah I get you! You can't read past the end of an array, but you can get an error.
Exactly!