There's currently a somewhat misleading (I claim) error message that states
"error: use of moved variable". I claim this should instead be "use of moved
value". In particular, there's no problem with using the variable; in
particular, you can mutate it to some new value. For example, this code
On Sun, Dec 30, 2012 at 1:16 PM, Niko Matsakis wrote:
> Oh, one other thing:
>
> Your each() method does not obey the for protocol! When the callback
> returns false, you should abort iteration altogether. This presumably
> means you need to do the recursion in a helper method that itself retur