add MapExpect to Result
add DebugInspect to Result move Result typedef into unit Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
99ad404ea9
commit
2709995f84
5 changed files with 78 additions and 5 deletions
6
src/core/result.rs
Normal file
6
src/core/result.rs
Normal file
|
@ -0,0 +1,6 @@
|
|||
mod debug_inspect;
|
||||
mod map_expect;
|
||||
|
||||
pub use self::{debug_inspect::DebugInspect, map_expect::MapExpect};
|
||||
|
||||
pub type Result<T = (), E = crate::Error> = std::result::Result<T, E>;
|
Loading…
Add table
Add a link
Reference in a new issue