Re:Rust 1.17
by steveklabnik on Friday April 28, 2017 @07:31AM
(#14218541)
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.
Re:Rust 1.17
by steveklabnik on Friday April 28, 2017 @11:57AM
(#14220463)
Exactly!
You sure about that? You can still get Rust to panic if you try to index a vec past the end...