Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document the field
last
of CoalesceBy
This behavior is not obvious at first glance of `Iterator::next`. In it, after `let init =`, `last` is `Some(None)` in both cases. With `try_fold`, if `iter` is not exhausted then we have `*last = Some(Some(..))` (otherwise it remains `Some(None)`).
- Loading branch information