]> git.lizzy.rs Git - rust.git/commitdiff
Remove deprecated owned vector from macro guide.
authorJonathan Reem <jonathan.reem@gmail.com>
Sat, 31 May 2014 02:05:47 +0000 (19:05 -0700)
committerJonathan Reem <jonathan.reem@gmail.com>
Sat, 31 May 2014 04:30:20 +0000 (21:30 -0700)
src/doc/guide-macros.md

index 12a0ee6931ce2b4703cd5071d66f0cf4fcbc74b4..b86a6aa1b619c5a239fe281755f6b6a46c55aa3a 100644 (file)
@@ -85,7 +85,7 @@ To take as an argument a fragment of Rust code, write `$` followed by a name
   `foo`.)
 * `expr` (an expression. Examples: `2 + 2`; `if true then { 1 } else { 2 }`;
   `f(42)`.)
-* `ty` (a type. Examples: `int`, `~[(char, String)]`, `&T`.)
+* `ty` (a type. Examples: `int`, `Vec<(char, String)>`, `&T`.)
 * `pat` (a pattern, usually appearing in a `match` or on the left-hand side of
   a declaration. Examples: `Some(t)`; `(17, 'a')`; `_`.)
 * `block` (a sequence of actions. Example: `{ log(error, "hi"); return 12; }`)