mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2025-12-16 12:18:59 -05:00
move core result into core utils
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
5cb0a5f676
commit
c769fcc347
12 changed files with 2 additions and 3 deletions
15
src/core/utils/result.rs
Normal file
15
src/core/utils/result.rs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
mod debug_inspect;
|
||||
mod flat_ok;
|
||||
mod into_is_ok;
|
||||
mod log_debug_err;
|
||||
mod log_err;
|
||||
mod map_expect;
|
||||
mod not_found;
|
||||
mod unwrap_infallible;
|
||||
|
||||
pub use self::{
|
||||
debug_inspect::DebugInspect, flat_ok::FlatOk, into_is_ok::IntoIsOk, log_debug_err::LogDebugErr, log_err::LogErr,
|
||||
map_expect::MapExpect, not_found::NotFound, unwrap_infallible::UnwrapInfallible,
|
||||
};
|
||||
|
||||
pub type Result<T = (), E = crate::Error> = std::result::Result<T, E>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue