One thing I often wish for here is capturing of type variables - often this is done in a generic function, and I have to make a duplicate parameter list with the same trait constraints. Another bonus would be local type inference!
Quote Tweet
Fun @rustlang fact. You can define functions inside functions using the fn syntax instead of using a closure.
play.rust-lang.org/?gist=1fa134ec
Show this thread

