5 ms·
.unwrap() is checked, if it goes wrong, it will safely cause task failure and stack unwinding. There won't be any memory unsafety.
by ben0x539 12y ago
.unwrap() is checked, if it goes wrong, it will safely cause task failure and stack unwinding. There won't be any memory unsafety.
- andrewflnr 12y agoYou can't get corruption, but I don't consider a program that violently terminates on unexpected input to be "safe". Just semantics, I guess.
- dbaupp 12y agoYeah, saying 'safe' around Rust is generally interpreted as meaning memory safety.