about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-02-02 02:53:54 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2014-02-02 02:59:04 +1100
commit212507413a2768ec4b6a072dde73d60527c2beee (patch)
tree29f84fa7272b8002cc1ae0dedc67fcaf6d730244 /src/libsyntax/parse/parser.rs
parentc8947c14c301acedfa2aad4c3daf3b8040c04804 (diff)
downloadrust-212507413a2768ec4b6a072dde73d60527c2beee.tar.gz
rust-212507413a2768ec4b6a072dde73d60527c2beee.zip
rustc: update docs & propagate @[]/@str removal more.
Various functions can now be made specific to ~[], or just non-managed
vectors.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 8a3da581607..dd7cc3a2314 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -1291,7 +1291,7 @@ impl Parser {
         }
 
         // other things are parsed as @/~ + a type.  Note that constructs like
-        // @[] and @str will be resolved during typeck to slices and so forth,
+        // ~[] and ~str will be resolved during typeck to slices and so forth,
         // rather than boxed ptrs.  But the special casing of str/vec is not
         // reflected in the AST type.
         if sigil == OwnedSigil {