From d2c031920a87ddfdc2e7e85ff99b9132a4403314 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 5 Jan 2019 01:09:12 +0100 Subject: [PATCH] Adapt to new libimagstore::iter::Entries API Use Entries::into_storeid_iter() for transforming iterator into right type. Signed-off-by: Matthias Beyer --- lib/domain/libimagnotes/src/notestore.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/domain/libimagnotes/src/notestore.rs b/lib/domain/libimagnotes/src/notestore.rs index 4b93a851..87a26dea 100644 --- a/lib/domain/libimagnotes/src/notestore.rs +++ b/lib/domain/libimagnotes/src/notestore.rs @@ -74,7 +74,7 @@ impl<'a> NoteStore<'a> for Store { } fn all_notes(&'a self) -> Result { - self.entries().map(|it| it.without_store()).map(NoteIterator::new) + self.entries().map(|it| it.into_storeid_iter()).map(NoteIterator::new) } }