about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-03-20 15:19:42 -0700
committerBrian Anderson <banderson@mozilla.com>2012-03-20 15:20:37 -0700
commitf5087aa64b3f8263b61431fbfc323fcaa356bc5b (patch)
tree558e30c2dfef7262a64d68776cd76539d6e1b4bc /doc
parentb181ea415ee283248ecabaa76f0c4c407fec05c1 (diff)
downloadrust-f5087aa64b3f8263b61431fbfc323fcaa356bc5b.tar.gz
rust-f5087aa64b3f8263b61431fbfc323fcaa356bc5b.zip
doc: Remove unary move operator from language ref. Closes #2032
Diffstat (limited to 'doc')
-rw-r--r--doc/rust.md19
1 files changed, 0 insertions, 19 deletions
diff --git a/doc/rust.md b/doc/rust.md
index 0572287c692..f664f03f708 100644
--- a/doc/rust.md
+++ b/doc/rust.md
@@ -1852,25 +1852,6 @@ mutate(copy v);   // Pass a copy
 assert v[0] == 1; // Original was not modified
 ~~~~
 
-### Unary move expressions
-
-~~~~~~~~{.ebnf .gram}
-move_expr : "move" expr ;
-~~~~~~~~
-
-This is used to indicate that the referenced _lval_ must be moved out,
-rather than copied, when evaluating this expression. It will only have
-an effect when the expression is _stored_ somewhere or passed to a
-function that takes ownership of it.
-
-~~~~
-let x = ~10;
-let y = [move x];
-~~~~
-
-Any access to `x` after applying the `move` operator to it is invalid,
-since it is no longer initialized at that point.
-
 ### Call expressions
 
 ~~~~~~~~ {.abnf .gram}