Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2019-03-09 12:24:20 +01:00
parent d19020c3f5
commit 734112b856

View file

@ -73,7 +73,8 @@ impl<'a> Iterator for CategoryNameIter<'a> {
.read_string(query) .read_string(query)
.map_err(Error::from) .map_err(Error::from)
.context(EM::EntryHeaderReadError)? .context(EM::EntryHeaderReadError)?
.ok_or_else(|| Error::from(err_msg("Store read error"))) .ok_or_else(|| err_msg("Store read error"))
.map_err(Error::from)
}; };
return Some(func(&self.0)) return Some(func(&self.0))