about summary refs log tree commit diff
path: root/src/rustc/syntax/parse
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-03-13 14:39:28 -0700
committerBrian Anderson <banderson@mozilla.com>2012-03-13 15:14:17 -0700
commitb968c8e6cd362567bf0047a96d261691dfca43e8 (patch)
tree9cec3e42976bef8815df2a5710083d2bb518b651 /src/rustc/syntax/parse
parenta38ccf12547b1bdb37dce3c7edca5b95a898326a (diff)
downloadrust-b968c8e6cd362567bf0047a96d261691dfca43e8.tar.gz
rust-b968c8e6cd362567bf0047a96d261691dfca43e8.zip
Name types after their modules instead of 't'
Diffstat (limited to 'src/rustc/syntax/parse')
-rw-r--r--src/rustc/syntax/parse/parser.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rustc/syntax/parse/parser.rs b/src/rustc/syntax/parse/parser.rs
index 6fd61bc9db4..4beefe21632 100644
--- a/src/rustc/syntax/parse/parser.rs
+++ b/src/rustc/syntax/parse/parser.rs
@@ -643,7 +643,7 @@ fn parse_seq<T: copy>(bra: token::token, ket: token::token,
     ret spanned(lo, hi, result);
 }
 
-fn have_dollar(p: parser) -> option::t<ast::mac_> {
+fn have_dollar(p: parser) -> option<ast::mac_> {
     alt p.token {
       token::DOLLAR_NUM(num) {
         p.bump();
@@ -2384,7 +2384,7 @@ else { ret none; }
 
 // A type to distingush between the parsing of item attributes or syntax
 // extensions, which both begin with token.POUND
-type attr_or_ext = option<either::t<[ast::attribute], @ast::expr>>;
+type attr_or_ext = option<either<[ast::attribute], @ast::expr>>;
 
 fn parse_outer_attrs_or_ext(
     p: parser,