diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2018-04-22 14:44:37 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2018-04-24 13:40:42 +0200 |
commit | 190da895f93a06851acbd3e031780b7feedcbaba (patch) | |
tree | 905ed08dc747896fac756802aeee52a3fae025f7 | |
parent | 22fb26dc12996e19978dc63ba4d2b91e8d61ea28 (diff) |
Do not use Store::retrieve_for_module() anymore here
-rw-r--r-- | lib/entry/libimagentryannotation/src/annotation_fetcher.rs | 4 |
1 files changed, 1 insertions, 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<AnnotationIter<'a>> { - self.retrieve_for_module("annotations") - .map(|iter| AnnotationIter::new(iter, self)) - .map_err(Into::into) + Ok(AnnotationIter::new(self.entries()?.without_store(), self)) } } |