News for hackers. Stuff that matters.
Re:Announcing Rust 1.18 by jeeyoungk on Thursday June 08, 2017 @01:37PM (#14515707)
is there a RFC link for this? I got bitten by this once by attempting to return a derived iterator similar to `x.iter().map(...).filter(...)` example you had, but I couldn't figure out the return type of such function as Rust forbids type inferencing for return types.
Re:Announcing Rust 1.18 by kzrdude on Thursday June 08, 2017 @01:41PM (#14515734)
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 ; it was in several.