4 ms·
Asking as someone who has tried learning Rust but didn't get very far, doesn't unwrap essentially mean "this might panic but I don't care to implement error han
by oriolid 3y ago
Asking as someone who has tried learning Rust but didn't get very far, doesn't unwrap essentially mean "this might panic but I don't care to implement error handling here"?
- ww520 3y agoYes, it would panic. Typically you handle the Result rather than unwrap directly.