rollup merge of #20554: huonw/mut-pattern

Conflicts:
	src/librustc_typeck/check/_match.rs
This commit is contained in:
Alex Crichton 2015-01-05 18:38:51 -08:00
commit bb5e16b4b8
19 changed files with 92 additions and 26 deletions

View file

@ -3484,8 +3484,9 @@ fn main() {
```
Patterns can also dereference pointers by using the `&`, `box` symbols,
as appropriate. For example, these two matches on `x: &int` are equivalent:
Patterns can also dereference pointers by using the `&`, `&mut` and `box`
symbols, as appropriate. For example, these two matches on `x: &int` are
equivalent:
```
# let x = &3i;