Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
oriolid
2y ago
0 comments
Share
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"?
0 comments
default
newest
oldest
ww520
2y ago
Yes, it would panic. Typically you handle the Result rather than unwrap directly.
j
/
k
navigate · click thread line to collapse