about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEric Holk <eric.holk@gmail.com>2012-08-06 09:55:53 -0700
committerEric Holk <eric.holk@gmail.com>2012-08-06 09:55:53 -0700
commitbd9d5e50be2aa0d6126b0d6fa5227a3bc1bae641 (patch)
treeea59e51d541fbfa1c4144a508eaba723cb6df73f /src
parent9f287c211eb3a92ae3aa31b6f767bb9998f2f147 (diff)
Add missing =>
Diffstat (limited to 'src')
-rw-r--r--src/compiletest/procsrv.rs2
-rw-r--r--src/test/bench/shootout-pfib.rs5
2 files changed, 3 insertions, 4 deletions
diff --git a/src/compiletest/procsrv.rs b/src/compiletest/procsrv.rs
index 99b18a67e1e..a8418a545a2 100644
--- a/src/compiletest/procsrv.rs
+++ b/src/compiletest/procsrv.rs
@@ -83,7 +83,7 @@ fn run(lib_path: ~str,
           (2, s) => {
             errs = s;
           }
-          _ { fail }
+          _ => { fail }
         };
         count -= 1;
     };
diff --git a/src/test/bench/shootout-pfib.rs b/src/test/bench/shootout-pfib.rs
index 5b309659ee5..3889fa00ff0 100644
--- a/src/test/bench/shootout-pfib.rs
+++ b/src/test/bench/shootout-pfib.rs
@@ -51,10 +51,9 @@ fn parse_opts(argv: ~[~str]) -> config {
 
     let opt_args = vec::slice(argv, 1u, vec::len(argv));
 
-
     alt getopts::getopts(opt_args, opts) {
-      ok(m) { return {stress: getopts::opt_present(m, ~"stress")} }
-      err(_) { fail; }
+      ok(m) => { return {stress: getopts::opt_present(m, ~"stress")} }
+      err(_) => { fail; }
     }
 }