about summary refs log tree commit diff
path: root/src/comp/syntax/ext/env.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp/syntax/ext/env.rs')
-rw-r--r--src/comp/syntax/ext/env.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/syntax/ext/env.rs b/src/comp/syntax/ext/env.rs
index 0b536159367..e5d80c3f314 100644
--- a/src/comp/syntax/ext/env.rs
+++ b/src/comp/syntax/ext/env.rs
@@ -26,7 +26,7 @@ fn expand_syntax_ext(cx: ext_ctxt, sp: codemap::span, arg: @ast::expr,
 
     let var = expr_to_str(cx, args[0], "#env requires a string");
     alt generic_os::getenv(var) {
-      option::none. { ret make_new_str(cx, sp, ""); }
+      option::none { ret make_new_str(cx, sp, ""); }
       option::some(s) { ret make_new_str(cx, sp, s); }
     }
 }