about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2017-01-23 16:40:48 -0500
committerGitHub <noreply@github.com>2017-01-23 16:40:48 -0500
commit9df2daf34c1624bbd09ab5243120f58e4c9c40c2 (patch)
treec49e9b749dbdc7f04eb87864e3fab8bd5c234db1
parentfb5b0d033f981906f2c51f2207e2268304698ec0 (diff)
parent4093bafe636bb711228e76d780d520626df28921 (diff)
downloadrust-9df2daf34c1624bbd09ab5243120f58e4c9c40c2.tar.gz
rust-9df2daf34c1624bbd09ab5243120f58e4c9c40c2.zip
Rollup merge of #38993 - krdln:patch-1, r=steveklabnik
Add `&mut expr` to syntax index
-rw-r--r--src/doc/book/syntax-index.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/syntax-index.md b/src/doc/book/syntax-index.md
index 28403711cd7..5fa78001fad 100644
--- a/src/doc/book/syntax-index.md
+++ b/src/doc/book/syntax-index.md
@@ -45,7 +45,7 @@
 * `%` (`expr % expr`): arithmetic remainder.  Overloadable (`Rem`).
 * `%=` (`var %= expr`): arithmetic remainder & assignment. Overloadable (`RemAssign`).
 * `&` (`expr & expr`): bitwise and.  Overloadable (`BitAnd`).
-* `&` (`&expr`): borrow.  See [References and Borrowing].
+* `&` (`&expr`, `&mut expr`): borrow.  See [References and Borrowing].
 * `&` (`&type`, `&mut type`, `&'a type`, `&'a mut type`): borrowed pointer type.  See [References and Borrowing].
 * `&=` (`var &= expr`): bitwise and & assignment. Overloadable (`BitAndAssign`).
 * `&&` (`expr && expr`): logical and.