3 ms·
`.unwrap()` is for ignoring possible errors. Normally you either short-circuit and return the error from the current function with `?` (similar to exceptions bu
by Kinrany 5y ago
`.unwrap()` is for ignoring possible errors. Normally you either short-circuit and return the error from the current function with `?` (similar to exceptions but explicit), ignore the error with a more explicit `.expect("The reason this error will never happen")` or handle the error with pattern matching.