On Sep 25, 2013, at 2:42 PM, Benjamin Herr <b...@0x539.de> wrote:

> 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.

The eventual plan is to say `let (mut foo, bar) = ...;`. We just don't yet 
support that.

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

Reply via email to