about summary refs log tree commit diff
path: root/src/libstd/term.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-08-20 12:23:37 -0700
committerBrian Anderson <banderson@mozilla.com>2012-08-26 15:56:16 -0700
commit8337fa1a545e7958389c6025661990eedd9c1b91 (patch)
treec8156400e412fe7e4441a42592f2687915d8f2fa /src/libstd/term.rs
parentd9a6a6365327ac156ef3102e2b7efae1b2be5934 (diff)
downloadrust-8337fa1a545e7958389c6025661990eedd9c1b91.tar.gz
rust-8337fa1a545e7958389c6025661990eedd9c1b91.zip
Camel case the option type
Diffstat (limited to 'src/libstd/term.rs')
-rw-r--r--src/libstd/term.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/term.rs b/src/libstd/term.rs
index be189151287..424e4b61eb0 100644
--- a/src/libstd/term.rs
+++ b/src/libstd/term.rs
@@ -1,6 +1,6 @@
 //! Simple ANSI color library
 
-import core::option;
+import core::Option;
 
 // FIXME (#2807): Windows support.
 
@@ -36,13 +36,13 @@ fn color_supported() -> bool {
     let supported_terms = ~[~"xterm-color", ~"xterm",
                            ~"screen-bce", ~"xterm-256color"];
     return match os::getenv(~"TERM") {
-          option::some(env) => {
+          option::Some(env) => {
             for vec::each(supported_terms) |term| {
                 if term == env { return true; }
             }
             false
           }
-          option::none => false
+          option::None => false
         };
 }