gat-lending-iterator
gat-lending-iterator copied to clipboard
Utilize fold/try_fold for various method implementations
Some iterators (such as skip_while) may have optimized fold
implementations, so using them inside other methods is better than using next
. It's unclear to me if this is possible on stable, since the Try trait is unstable, so leaving for later.