Add result module
This commit is contained in:
parent
fa370facf3
commit
6067ccb46a
1 changed files with 5 additions and 0 deletions
5
libimagdiary/src/result.rs
Normal file
5
libimagdiary/src/result.rs
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
use std::result::Result as RResult;
|
||||||
|
|
||||||
|
use error::DiaryError;
|
||||||
|
|
||||||
|
pub type Result<T> = RResult<T, DiaryError>;
|
Loading…
Reference in a new issue