mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 13:16:56 +00:00
add unwrap_or_err to result
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
08a4e931a0
commit
9790a6edc9
2 files changed
+17
No files matched your search
@@ -7,10 +7,12 @@ mod log_err;
|
||||
mod map_expect;
|
||||
mod not_found;
|
||||
mod unwrap_infallible;
|
||||
mod unwrap_or_err;
|
||||
|
||||
pub use self::{
|
||||
debug_inspect::DebugInspect, filter::Filter, flat_ok::FlatOk, into_is_ok::IntoIsOk, log_debug_err::LogDebugErr,
|
||||
log_err::LogErr, map_expect::MapExpect, not_found::NotFound, unwrap_infallible::UnwrapInfallible,
|
||||
unwrap_or_err::UnwrapOrErr,
|
||||
};
|
||||
|
||||
pub type Result<T = (), E = crate::Error> = std::result::Result<T, E>;
|
||||
Reference in new issue
Block a user