about summary refs log tree commit diff
path: root/src/libstd/term.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/term.rs')
-rw-r--r--src/libstd/term.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/term.rs b/src/libstd/term.rs
index 34244e95c0c..6a264161bc7 100644
--- a/src/libstd/term.rs
+++ b/src/libstd/term.rs
@@ -40,7 +40,7 @@ fn color_supported() -> bool {
     return match os::getenv(~"TERM") {
           option::Some(env) => {
             for vec::each(supported_terms) |term| {
-                if term == env { return true; }
+                if *term == env { return true; }
             }
             false
           }