6 ms·
> Unlike Rust's unwrap which will panic on error, I've opted to convert Error into an generic error Weird dig. Panic-ing is the entire purpose of Result::unwr
by masklinn 3y ago
> Unlike Rust's unwrap which will panic on error, I've opted to convert Error into an generic error
Weird dig.
Panic-ing is the entire purpose of Result::unwrap, if you want to convert between types you can... just do that.
- loeg 3y agoI did not read it as a dig. Just a (very!) notable difference.