Y
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
steveklabnik
3345 days ago
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.
link
rmc
3344 days ago
Ah I get you! You can't
read
past the end of an array, but you can get an error.
link
steveklabnik
3344 days ago
Exactly!
link