2 ms·
Yes it hasn't been properly possible to return such an iterator chain that uses closures before, unless the iterator is manually boxed. With impl Trait that is
by kzrdude 9y ago
Yes it hasn't been properly possible to return such an iterator chain that uses closures before, unless the iterator is manually boxed. With impl Trait that is now fixed.
The latest RFC is https://github.com/rust-lang/rfcs/pull/1951 https://github.com/rust-lang/rfcs/pull/1951 ; it was in several.