From 19dae8dae156e190ea1a4c0ca43c012dec14d39f Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Tue, 23 Oct 2012 12:13:09 -0700 Subject: [PATCH] Remove remaining mentions of <- from docs --- doc/rust.md | 6 +++--- doc/tutorial.md | 5 ----- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/doc/rust.md b/doc/rust.md index e78b3092a9a3..449b94f24577 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -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 = 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. diff --git a/doc/tutorial.md b/doc/tutorial.md index 02927c4ddd1b..a818689d7e30 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -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,