about summary refs log tree commit diff
path: root/src/doc/reference.md
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-01-05 18:38:51 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-01-05 18:38:51 -0800
commitbb5e16b4b869f0c585c21db110e51165865e8833 (patch)
tree5ad6a32f888d7036f31f88928f982986467a55bb /src/doc/reference.md
parent0ca3a8cca718d6715a73fd0931cda3135d68ebd1 (diff)
parentbf6c007760169e9c382d3700fd1cdd20037e4343 (diff)
downloadrust-bb5e16b4b869f0c585c21db110e51165865e8833.tar.gz
rust-bb5e16b4b869f0c585c21db110e51165865e8833.zip
rollup merge of #20554: huonw/mut-pattern
Conflicts:
	src/librustc_typeck/check/_match.rs
Diffstat (limited to 'src/doc/reference.md')
-rw-r--r--src/doc/reference.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md
index 016cf12985e..635e216831f 100644
--- a/src/doc/reference.md
+++ b/src/doc/reference.md
@@ -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;