From 3272dbfd74f70cc38aef13583dc3d737f0afb013 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 30 Oct 2018 18:40:52 +0100 Subject: [PATCH] imag-mv: Move from error-chain to failure Signed-off-by: Matthias Beyer --- bin/core/imag-mv/src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/core/imag-mv/src/main.rs b/bin/core/imag-mv/src/main.rs index aeac022b..3dfb9798 100644 --- a/bin/core/imag-mv/src/main.rs +++ b/bin/core/imag-mv/src/main.rs @@ -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| {