#argument #iterator #sized #arg #losing #passing-arg

yanked passing-arg-iter

Add an argument to argument to Iterator::Item without losing Sized

3 releases

0.1.2 Mar 25, 2019
0.1.1 Mar 25, 2019
0.1.0 Mar 4, 2019

#45 in #sized

MIT/Apache

6KB
56 lines

passing-arg-iter

Add an argument to argument to Iterator::Item without losing Sized

If you find yourself mapping a capturing closure over an Iterator that you need to return, you'll want to use passing_arg(self, arg: T) -> PassingArgument<I, T>

No runtime deps