Add result type

This commit is contained in:
Matthias Beyer 2016-04-12 16:40:32 +02:00
parent 6f3b3d6b83
commit c2e2fca8eb
2 changed files with 6 additions and 0 deletions

View file

@ -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;

View file

@ -0,0 +1,5 @@
use std::result::Result as RResult;
use error::InteractionError;
pub type Result<T> = RResult<T, InteractionError>;