Add result type
This commit is contained in:
parent
6f3b3d6b83
commit
c2e2fca8eb
2 changed files with 6 additions and 0 deletions
|
@ -12,4 +12,5 @@ extern crate libimagstore;
|
||||||
pub mod ask;
|
pub mod ask;
|
||||||
pub mod error;
|
pub mod error;
|
||||||
pub mod filter;
|
pub mod filter;
|
||||||
|
pub mod result;
|
||||||
|
|
||||||
|
|
5
libimaginteraction/src/result.rs
Normal file
5
libimaginteraction/src/result.rs
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
use std::result::Result as RResult;
|
||||||
|
|
||||||
|
use error::InteractionError;
|
||||||
|
|
||||||
|
pub type Result<T> = RResult<T, InteractionError>;
|
Loading…
Reference in a new issue