Closed bvssvni closed 10 years ago
I have found a workaround for piston-current.
@bvssvni: move ||
should fix this.
EDIT: Oh, never mind. You need full unboxed closures for FnOnce
or you must use a proc
because they take by-value receivers so can move out of outer vars.
play.rust-lang.org http://is.gd/2ZSWKi
Error: