about summary refs log tree commit diff
path: root/src/compiletest/util.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-08-03 19:59:04 -0700
committerBrian Anderson <banderson@mozilla.com>2012-08-05 22:08:09 -0700
commit025d86624de982cdab7e6b13600fec1499c02b56 (patch)
tree96ba196f8a420c52e6034acd14f323d3d2239e29 /src/compiletest/util.rs
parentc9d27693796fe4ced8568e11aa465750f743097b (diff)
downloadrust-025d86624de982cdab7e6b13600fec1499c02b56.tar.gz
rust-025d86624de982cdab7e6b13600fec1499c02b56.zip
Switch alts to use arrows
Diffstat (limited to 'src/compiletest/util.rs')
-rw-r--r--src/compiletest/util.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiletest/util.rs b/src/compiletest/util.rs
index fec0fc84bc3..027d247ebb8 100644
--- a/src/compiletest/util.rs
+++ b/src/compiletest/util.rs
@@ -8,10 +8,10 @@ fn make_new_path(path: ~str) -> ~str {
     // Windows just uses PATH as the library search path, so we have to
     // maintain the current value while adding our own
     alt getenv(lib_path_env_var()) {
-      option::some(curr) {
+      option::some(curr) => {
         fmt!{"%s%s%s", path, path_div(), curr}
       }
-      option::none { path }
+      option::none => path
     }
 }