about summary refs log tree commit diff
path: root/src/libcore/extfmt.rs
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-02-01 16:49:36 -0800
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-02-01 16:49:57 -0800
commit49cb3fc7dfd2a8ee7f35aaa884da8f710cd4a94a (patch)
treec42edd27f47c8a78cc212391c093992d3bde7f4b /src/libcore/extfmt.rs
parent4eb92d41775e633fbc177b1dd163a799260835a8 (diff)
downloadrust-49cb3fc7dfd2a8ee7f35aaa884da8f710cd4a94a.tar.gz
rust-49cb3fc7dfd2a8ee7f35aaa884da8f710cd4a94a.zip
Remove remaining references to option::t outside option itself
Diffstat (limited to 'src/libcore/extfmt.rs')
-rw-r--r--src/libcore/extfmt.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/extfmt.rs b/src/libcore/extfmt.rs
index eb91c2cb5d5..3f58548684c 100644
--- a/src/libcore/extfmt.rs
+++ b/src/libcore/extfmt.rs
@@ -69,7 +69,7 @@ mod ct {
 
     // A formatted conversion from an expression to a string
     type conv =
-        {param: option::t<int>,
+        {param: option<int>,
          flags: [flag],
          width: count,
          precision: count,
@@ -115,7 +115,7 @@ mod ct {
         ret pieces;
     }
     fn peek_num(s: str, i: uint, lim: uint) ->
-       option::t<{num: uint, next: uint}> {
+       option<{num: uint, next: uint}> {
         if i >= lim { ret none; }
         let c = s[i];
         if !('0' as u8 <= c && c <= '9' as u8) { ret option::none; }
@@ -145,7 +145,7 @@ mod ct {
              next: ty.next};
     }
     fn parse_parameter(s: str, i: uint, lim: uint) ->
-       {param: option::t<int>, next: uint} {
+       {param: option<int>, next: uint} {
         if i >= lim { ret {param: none, next: i}; }
         let num = peek_num(s, i, lim);
         ret alt num {