Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rmc
on April 28, 2017
|
parent
|
context
|
favorite
| on:
Rust 1.17
>
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...
steveklabnik
on April 28, 2017
[–]
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.
rmc
on April 28, 2017
|
parent
[–]
Ah I get you! You can't
read
past the end of an array, but you can get an error.
steveklabnik
on April 28, 2017
|
root
|
parent
[–]
Exactly!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
You sure about that? You can still get Rust to panic if you try to index a vec past the end...