diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2018-05-01 17:42:47 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2018-05-01 17:44:01 +0200 |
commit | a9d0f3d53a3219c7b0d13582b4afc7e4f332d63c (patch) | |
tree | 67ef6de6efa7c783ef1a958f58006c9f296ce9a1 /bin | |
parent | dd453659ed9eabdcbcae0b5c8b4f49bc3e615fca (diff) |
Refactor imag-edit to new store iterator interface
Diffstat (limited to 'bin')
-rw-r--r-- | bin/core/imag-edit/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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(|| { |