Remove remaining mentions of <- from docs

This commit is contained in:
Tim Chevalier 2012-10-23 12:13:09 -07:00
parent 087cbb55d0
commit 19dae8dae1
2 changed files with 3 additions and 8 deletions

View File

@ -1388,7 +1388,7 @@ declaring a function-local item.
~~~~~~~~{.ebnf .gram}
let_decl : "let" pat [':' type ] ? [ init ] ? ';' ;
init : [ '=' | '<-' ] expr ;
init : [ '=' ] expr ;
~~~~~~~~
A _slot declaration_ introduces a new set of slots, given by a pattern.
@ -1795,7 +1795,7 @@ as
== !=
&&
||
= <- <->
= <->
~~~~
Operators at the same precedence level are evaluated left-to-right.
@ -2507,7 +2507,7 @@ let a: List<int> = Cons(7, @Cons(13, @Nil));
> **Note:** Records are not nominal types, thus do not directly support recursion, visibility control,
> out-of-order field initialization, or coherent trait implementation.
> Records are therefore deprecared and will be removed in future versions of Rust.
> Records are therefore deprecated and will be removed in future versions of Rust.
> [Structure types](#structure-types) should be used instead.
The record type-constructor forms a new heterogeneous product of values.

View File

@ -1205,11 +1205,6 @@ to other tasks. The sending task will give up ownership of the box,
and won't be able to access it afterwards. The receiving task will
become the sole owner of the box.
> ***Note:*** This discussion of copying vs. moving does not account
> for the "last use" rules that automatically promote copy operations
> to moves. We plan to remove last use from the language in
> favor of explicit moves.
## Borrowed pointers
Rust borrowed pointers are a general purpose reference/pointer type,