FromFallibleIterator
trait is removed,FallibleIterator::collect
now requiresstd::iter::FromIterator
, which has strictly more implementations.
- add convenient wrapper for std::iter::Iterator
- more utilities mirroring std::iter
- Peekable methods
IteratorExt
for convenient conversionFallibleIterator::unwrap
v0.2.0 - 2019-03-10
- All closures used by adaptor methods now return
Result
s. FromFallibleIterator::from_fallible_iterator
has been renamed tofrom_fallible_iter
and now takes anIntoFallibleIterator
.IntoFallibleIterator::into_fallible_iterator
has been renamed tointo_fallible_iter
.IntoFallibleIterator::IntoIter
has been renamed toIntoFallibleIter
.
FallibleIterator::and_then
has been removed asFallibleIterator::map
is now equivalent.
- Added
step_by
,for_each
,skip_while
,take_while
,skip
,scan
,flat_map
,flatten
,inspect
,partition
,find_map
,max_by
,min_by
,unzip
,cycle
, andtry_fold
toFallibleIterator
. - Added
rfold
andtry_rfold
toDoubleEndedFallibleIterator
.