Refactor imag-edit to new store iterator interface
This commit is contained in:
parent
dd453659ed
commit
a9d0f3d53a
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ fn main() {
|
||||||
let edit_header = rt.cli().is_present("edit-header");
|
let edit_header = rt.cli().is_present("edit-header");
|
||||||
let edit_header_only = rt.cli().is_present("edit-header-only");
|
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())
|
.into_get_iter(rt.store())
|
||||||
.trace_unwrap_exit(1)
|
.trace_unwrap_exit(1)
|
||||||
.map(|o| o.unwrap_or_else(|| {
|
.map(|o| o.unwrap_or_else(|| {
|
||||||
|
|
Loading…
Reference in a new issue