about summary refs log tree commit diff
path: root/src/libcore/char.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/char.rs
parent4eb92d41775e633fbc177b1dd163a799260835a8 (diff)
downloadrust-49cb3fc7dfd2a8ee7f35aaa884da8f710cd4a94a.tar.gz
rust-49cb3fc7dfd2a8ee7f35aaa884da8f710cd4a94a.zip
Remove remaining references to option::t outside option itself
Diffstat (limited to 'src/libcore/char.rs')
-rw-r--r--src/libcore/char.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/char.rs b/src/libcore/char.rs
index 3d7fa5ec3e8..21028655626 100644
--- a/src/libcore/char.rs
+++ b/src/libcore/char.rs
@@ -103,7 +103,7 @@ pure fn to_digit(c: char) -> u8 unsafe {
   brief = "Convert a char to the corresponding digit. Returns none when \
            character is not a valid hexadecimal digit."
 )]
-pure fn maybe_digit(c: char) -> option::t<u8> {
+pure fn maybe_digit(c: char) -> option<u8> {
     alt c {
       '0' to '9' { option::some(c as u8 - ('0' as u8)) }
       'a' to 'z' { option::some(c as u8 + 10u8 - ('a' as u8)) }