Yup, you can shadow the binding.
By the way, the need to sometimes borrow some of the environment and move the rest was discussed a bit yesterday here: Basic question about closures, move, Vec<T> - #8 by bugaevc
Yup, you can shadow the binding.
By the way, the need to sometimes borrow some of the environment and move the rest was discussed a bit yesterday here: Basic question about closures, move, Vec<T> - #8 by bugaevc