From a9d0f3d53a3219c7b0d13582b4afc7e4f332d63c Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 1 May 2018 17:42:47 +0200 Subject: [PATCH] Refactor imag-edit to new store iterator interface --- bin/core/imag-edit/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/core/imag-edit/src/main.rs b/bin/core/imag-edit/src/main.rs index 4b6387d9..46c4c3f9 100644 --- a/bin/core/imag-edit/src/main.rs +++ b/bin/core/imag-edit/src/main.rs @@ -89,7 +89,7 @@ fn main() { let edit_header = rt.cli().is_present("edit-header"); let edit_header_only = rt.cli().is_present("edit-header-only"); - StoreIdIterator::new(Box::new(sids.into_iter())) + StoreIdIterator::new(Box::new(sids.into_iter().map(Ok))) .into_get_iter(rt.store()) .trace_unwrap_exit(1) .map(|o| o.unwrap_or_else(|| {