344
rustmas
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
Yes it is. Typically you'd do some pattern matching to handle every possible case, but Unwrap is often used as a shortcut.