NonEmptyIterator::group_by
.NVec::sort_by
andNEVec::sort_by_key
.- An impl of
Extend
forNEVec
.
NEVec::sort
avoids a second internalsort
.
- Missing
FromNonEmptyIterator
forHashMap
.
serde
support forNEMap
andNESet
.
- Ownership issues in
nem!
when using non-Copy types.
- Implementation of
NonEmptyIterator
for fixed-sized stdlib Arrays.
- Added
NEVec::partition_point
to match the function of the same name instd
.
- Render feature-gated types on
docs.rs
.
- More edge cases involving
NEChunks
.
IntoIterator
forNEChunks
yielding the wrong type.NonEmptyIterator
forNEChunks
missing a cutoff condition.
- The missing
IntoIterator
impl forNEChunks
. IntoIteratorExt
for direct conversion from anything that implementsIntoIterator
. Thanks to Rinde van Lon.
- A bug involving repeated keys in
NEMap
andNEIndexedMap
. Thanks to Rinde van Lon.
NEIndexMap
, thanks to Rinde van Lon.NonEmptyIterator::max_by_key
andNonEmptyIterator::min_by_key
, also thanks to Rinde.NEVec::with_capacity
NEVec::nonempty_chunks
andNESlice::nonempty_chunks
- BREAKING: All
len
implementations andNonEmptyIterator::count
have had their return type changed toNonZeroUsize
.
NonEmptyIterator::reduce
, which yields a concreteSelf::Item
instead of anOption
.IteratorExt::to_nonempty_iter
for converting any givenIterator
into a non-empty one (if possible).- The
NEVec::dedup*
series for removing duplicate items in-place.
- Account for potentially duplicated
head
value when converting into anNESet
from other nonempty iterators.
FromNonEmptyIterator
impls forNEMap
andNESet
.Debug
,Clone
,PartialEq
, andEq
forNEMap
.
NESlice
for when what you have on hand is already borrowed. Thanks again to Greg Shuflin.
- A
FromNonEmptyIterator
instance forResult
, meaning you cancollect
into a guaranteedResult<NEVec<...>, Error>
(or other nonempty type). Thanks to Greg Shuflin.
- Missing
IntoNonEmptyIterator
instances. - Missing
Intoiterator
instance forFlatMap
.
- Incorrect
IntoIterator
forTake
.