Re:Bugs that the Rust compiler catches for you
by justinpombrio on Friday May 06, 2022 @01:15AM
(#31281553)
> What do you think "unwrap" does?
It panics just like my `my_vector[2]` example does. What did you think `my_vector[2]` did? Libraries use `my_vector[2]` too. I don't get why we're changing topics from one commonly used panicking operation to another.
It panics just like my `my_vector[2]` example does. What did you think `my_vector[2]` did? Libraries use `my_vector[2]` too. I don't get why we're changing topics from one commonly used panicking operation to another.