2012-08-08

tim: Tim with short hair, smiling, wearing a black jacket over a white T-shirt (working)
2012-08-08 06:31 pm
Entry tags:

TMI: Exhausting all the possibilities

I closed #2735, which had to do with how
let _ = e;

and
e;

can have different semantics in Rust. As you might guess, "_" effectively means "I'm never going to use this, so just give it a name I can't refer to." (Left-hand sides of let decls, by the way, can be any irrefutable pattern.) So why would they be different?

Read more... )