Fix for new all_annotations() interface

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2019-02-10 22:46:59 +01:00
parent 444ca2d424
commit f558556b3a

View file

@ -208,7 +208,7 @@ fn list(rt: &Runtime) {
rt.store() rt.store()
.all_annotations() .all_annotations()
.map_err_trace_exit_unwrap() .map_err_trace_exit_unwrap()
.into_get_iter(rt.store()) .into_get_iter()
.trace_unwrap_exit() .trace_unwrap_exit()
.map(|opt| opt.ok_or_else(|| format_err!("Cannot find entry"))) .map(|opt| opt.ok_or_else(|| format_err!("Cannot find entry")))
.trace_unwrap_exit() .trace_unwrap_exit()