Expand description
This crate adds err_or
and err_or_else
methods to the Option
type which allow converting Option<E>
into Result<_, E>
.
Those methods were proposed in rust-lang/rust#73040
PR, but it was closed.
This crate is #![no_std]
compatible.