diff options
Diffstat (limited to 'lib/domain/libimagdiary/src/diary.rs')
-rw-r--r-- | lib/domain/libimagdiary/src/diary.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/domain/libimagdiary/src/diary.rs b/lib/domain/libimagdiary/src/diary.rs index 5c500ce0..e61902eb 100644 --- a/lib/domain/libimagdiary/src/diary.rs +++ b/lib/domain/libimagdiary/src/diary.rs @@ -95,7 +95,7 @@ impl Diary for Store { fn entries(&self, diary_name: &str) -> Result<DiaryEntryIterator> { debug!("Building iterator for module 'diary' with diary name = '{}'", diary_name); Store::entries(self) - .map(|iter| DiaryEntryIterator::new(String::from(diary_name), iter.without_store())) + .map(|iter| DiaryEntryIterator::new(String::from(diary_name), iter.into_storeid_iter())) } /// get the id of the youngest entry @@ -151,7 +151,7 @@ impl Diary for Store { /// Get all diary names fn diary_names(&self) -> Result<DiaryNameIterator> { self.entries() - .map(|it| DiaryNameIterator::new(it.without_store())) + .map(|it| DiaryNameIterator::new(it.into_storeid_iter())) .map_err(Error::from) } |