about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-01-15 14:11:33 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-01-15 14:11:33 -0800
commitff9ae8815b1530191237fbe53af7136eb08539a2 (patch)
tree5c7af64938a969715d612b067f5569cc82dd59df /src/doc
parentc6a9877039b087252b0ca4b89817b04d0b5bf5bd (diff)
parent285277dd804e8e380dde764a00c97a721b4ef976 (diff)
downloadrust-ff9ae8815b1530191237fbe53af7136eb08539a2.tar.gz
rust-ff9ae8815b1530191237fbe53af7136eb08539a2.zip
rollup merge of #21014: steveklabnik/gh20876
Fixes #20876
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/reference.md11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md
index aea2c769725..435566ae183 100644
--- a/src/doc/reference.md
+++ b/src/doc/reference.md
@@ -2967,8 +2967,8 @@ _panicked state_.
 
 ### Unary operator expressions
 
-Rust defines six symbolic unary operators. They are all written as prefix
-operators, before the expression they apply to.
+Rust defines three unary operators. They are all written as prefix operators,
+before the expression they apply to.
 
 * `-`
   : Negation. May only be applied to numeric types.
@@ -2986,13 +2986,6 @@ operators, before the expression they apply to.
   : Logical negation. On the boolean type, this flips between `true` and
     `false`. On integer types, this inverts the individual bits in the
     two's complement representation of the value.
-* `box`
-  : [Boxing](#pointer-types) operators. Allocate a box to hold the value they
-    are applied to, and store the value in it. `box` creates a box.
-* `&`
-  : Borrow operator. Returns a reference, pointing to its operand. The operand
-    of a borrow is statically proven to outlive the resulting pointer. If the
-    borrow-checker cannot prove this, it is a compilation error.
 
 ### Binary operator expressions