From 207fd88c3d29b4ebdc41b538811b2a1dd39edb7a 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/libimagwiki/src/wiki.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/domain/libimagwiki/src/wiki.rs b/lib/domain/libimagwiki/src/wiki.rs index 33a6bc47..0855f4e7 100644 --- a/lib/domain/libimagwiki/src/wiki.rs +++ b/lib/domain/libimagwiki/src/wiki.rs @@ -91,8 +91,8 @@ impl<'a, 'b> Wiki<'a, 'b> { entry.add_internal_link(&mut index).map(|_| entry) } - pub fn all_ids(&self) -> Result { - self.0.entries().map(|iter| iter.in_collection("wiki").without_store()) + pub fn all_ids(&self) -> Result> { + self.0.entries().map(|iter| iter.in_collection("wiki")) } pub fn delete_entry>(&self, entry_name: EN) -> Result<()> {