On Wed, 2013-09-25 at 15:23 -0600, Jack Moffitt wrote:
> > (I miss `let mut (a, b) = ...`!)
> 
> Miss it? Did it ever work? This seems like a bug though. Mutability is
> inherited, so without this there's no way to do mutable destructuring
> bind right?
> 
> jack.

Apparently it went away in commit f9b54541 and the workaround used there
is `let (foo, bar) = ...; let mut foo = foo;` etc.

Seems intentional, but I don't recall the rationale.

-benh

_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to