Do not use Store::retrieve_for_module() anymore here
This commit is contained in:
parent
22fb26dc12
commit
190da895f9
1 changed files with 1 additions and 3 deletions
|
@ -31,9 +31,7 @@ pub trait AnnotationFetcher<'a> {
|
||||||
impl<'a> AnnotationFetcher<'a> for Store {
|
impl<'a> AnnotationFetcher<'a> for Store {
|
||||||
|
|
||||||
fn all_annotations(&'a self) -> Result<AnnotationIter<'a>> {
|
fn all_annotations(&'a self) -> Result<AnnotationIter<'a>> {
|
||||||
self.retrieve_for_module("annotations")
|
Ok(AnnotationIter::new(self.entries()?.without_store(), self))
|
||||||
.map(|iter| AnnotationIter::new(iter, self))
|
|
||||||
.map_err(Into::into)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue