diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2018-10-30 18:40:51 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2018-10-30 18:46:28 +0100 |
commit | 2a107477c0c5ce12177428ca5c94518550dc03fd (patch) | |
tree | 9f1698219c203a2cd5bfdcf4494ffa2b55f36683 /lib/domain/libimagcontact/src/util.rs | |
parent | 2dc17f8bea23482dc1655cc9af3762c6e4fec8d2 (diff) |
libimagcontact: Move from error-chain to failure
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'lib/domain/libimagcontact/src/util.rs')
-rw-r--r-- | lib/domain/libimagcontact/src/util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/domain/libimagcontact/src/util.rs b/lib/domain/libimagcontact/src/util.rs index 53e820c4..e9618574 100644 --- a/lib/domain/libimagcontact/src/util.rs +++ b/lib/domain/libimagcontact/src/util.rs @@ -22,7 +22,7 @@ use std::fmt::Debug; use std::fs::File; use std::io::Read; -use error::Result; +use failure::Fallible as Result; pub fn read_to_string<A: AsRef<Path> + Debug>(pb: A) -> Result<String> { let mut cont = String::new(); |