add UnwrapInfallible to Result

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-09-13 07:40:22 +00:00 committed by strawberry
parent a5de27442a
commit 6001014078
3 changed files with 21 additions and 7 deletions

View file

@ -3,10 +3,11 @@ mod log_debug_err;
mod log_err;
mod map_expect;
mod not_found;
mod unwrap_infallible;
pub use self::{
debug_inspect::DebugInspect, log_debug_err::LogDebugErr, log_err::LogErr, map_expect::MapExpect,
not_found::NotFound,
not_found::NotFound, unwrap_infallible::UnwrapInfallible,
};
pub type Result<T = (), E = crate::Error> = std::result::Result<T, E>;