Add StoreIdIteratorWithStore::without_store()

This commit is contained in:
Matthias Beyer 2018-01-29 20:42:02 +01:00
parent 8e931cd79f
commit b3f546129a

View file

@ -290,6 +290,10 @@ impl<'a> StoreIdIteratorWithStore<'a> {
StoreIdIteratorWithStore(StoreIdIterator::new(iter), store) StoreIdIteratorWithStore(StoreIdIterator::new(iter), store)
} }
pub fn without_store(self) -> StoreIdIterator {
self.0
}
/// Transform the iterator into a StoreCreateIterator /// Transform the iterator into a StoreCreateIterator
/// ///
/// This immitates the API from `libimagstore::iter`. /// This immitates the API from `libimagstore::iter`.