about summary refs log tree commit diff
path: root/src/rustc/driver/rustc.rs
diff options
context:
space:
mode:
authorBen Striegel <ben.striegel@gmail.com>2012-07-04 15:04:28 -0400
committerBrian Anderson <banderson@mozilla.com>2012-07-04 17:21:29 -0700
commitf2e2a14f364041fc5cb346fd308bb1777ca3c24c (patch)
tree05aef0c2982c1acdb73054442b788092c4ceb2b8 /src/rustc/driver/rustc.rs
parent718849b202aa6655a7d493a0eaf7f119136e2505 (diff)
downloadrust-f2e2a14f364041fc5cb346fd308bb1777ca3c24c.tar.gz
rust-f2e2a14f364041fc5cb346fd308bb1777ca3c24c.zip
Remove empty argument lists from do expressions
Diffstat (limited to 'src/rustc/driver/rustc.rs')
-rw-r--r--src/rustc/driver/rustc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustc/driver/rustc.rs b/src/rustc/driver/rustc.rs
index 8b5d76b89d3..bea8f6c28e9 100644
--- a/src/rustc/driver/rustc.rs
+++ b/src/rustc/driver/rustc.rs
@@ -211,7 +211,7 @@ fn monitor(+f: fn~(diagnostic::emitter)) {
     let p = comm::port();
     let ch = comm::chan(p);
 
-    alt do task::try  || {
+    alt do task::try  {
 
         // The 'diagnostics emitter'. Every error, warning, etc. should
         // go through this function.