From 190da895f93a06851acbd3e031780b7feedcbaba Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 22 Apr 2018 14:44:37 +0200 Subject: [PATCH] Do not use Store::retrieve_for_module() anymore here --- lib/entry/libimagentryannotation/src/annotation_fetcher.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/entry/libimagentryannotation/src/annotation_fetcher.rs b/lib/entry/libimagentryannotation/src/annotation_fetcher.rs index b4415466..ef98bdfd 100644 --- a/lib/entry/libimagentryannotation/src/annotation_fetcher.rs +++ b/lib/entry/libimagentryannotation/src/annotation_fetcher.rs @@ -31,9 +31,7 @@ pub trait AnnotationFetcher<'a> { impl<'a> AnnotationFetcher<'a> for Store { fn all_annotations(&'a self) -> Result> { - self.retrieve_for_module("annotations") - .map(|iter| AnnotationIter::new(iter, self)) - .map_err(Into::into) + Ok(AnnotationIter::new(self.entries()?.without_store(), self)) } }