]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #24149 - bombless:update-faq, r=steveklabnik
authorSteve Klabnik <steve@steveklabnik.com>
Wed, 8 Apr 2015 15:34:12 +0000 (11:34 -0400)
committerSteve Klabnik <steve@steveklabnik.com>
Wed, 8 Apr 2015 15:34:12 +0000 (11:34 -0400)
I think "let is used to introduce variables" is incorrent.
You can use
```rust
match (42, true) {
    (x, y) => { /* ... */ }
}
```
to replace
```rust
let x = 42;
let y = true;
```
so it's nothing special for `let`.


Trivial merge