imag-mv: Move from error-chain to failure

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2018-10-30 18:40:52 +01:00
parent 8114c5976c
commit 3272dbfd74

View file

@ -53,7 +53,6 @@ use libimagerror::iter::TraceIterator;
use libimagstore::storeid::StoreId;
use libimagstore::store::Store;
use libimagstore::store::FileLockEntry;
use libimagstore::error::StoreError;
use libimagentrylink::internal::InternalLinker;
use libimagstore::iter::get::StoreIdGetIteratorExtension;
@ -93,7 +92,7 @@ fn main() {
})
.get_internal_links()
.map_err_trace_exit_unwrap(1)
.map(|link| Ok(link.get_store_id().clone()) as Result<_, StoreError>)
.map(|link| Ok(link.get_store_id().clone()) as Result<_, _>)
.into_get_iter(rt.store())
.trace_unwrap_exit(1)
.map(|e| {