3 ms·
Unwrap doesn't make rust unsafe, it's not a segfault. You also don't have to use the verbose match statement when using options and results; you either propogat
by Ar-Curunir 10y ago
Unwrap doesn't make rust unsafe, it's not a segfault. You also don't have to use the verbose match statement when using options and results; you either propogate the error with ?/try or you provide a default value, or you panic (if the error should not be happening).