about summary refs log tree commit diff
path: root/src/libstd/sync.rs
diff options
context:
space:
mode:
authorMarvin Löbel <loebel.marvin@gmail.com>2013-05-09 13:52:07 +0200
committerBjörn Steinbrink <bsteinbr@gmail.com>2013-05-14 16:36:24 +0200
commit04de8f852c4def51f02eb812f4ecee83d416911b (patch)
treebf394aa7ebda0ae70ae70d03f753d6de4388e939 /src/libstd/sync.rs
parentbdc182cc41c2741edc6fdc4ec09b8522479aab40 (diff)
downloadrust-04de8f852c4def51f02eb812f4ecee83d416911b.tar.gz
rust-04de8f852c4def51f02eb812f4ecee83d416911b.zip
Fix cosmetics for fail!() calls
Diffstat (limited to 'src/libstd/sync.rs')
-rw-r--r--src/libstd/sync.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libstd/sync.rs b/src/libstd/sync.rs
index 023fc18cdc1..59c6a804408 100644
--- a/src/libstd/sync.rs
+++ b/src/libstd/sync.rs
@@ -329,11 +329,9 @@ fn check_cvar_bounds<U>(out_of_bounds: Option<uint>, id: uint, act: &str,
                         blk: &fn() -> U) -> U {
     match out_of_bounds {
         Some(0) =>
-            fail!("%s with illegal ID %u - this lock has no condvars!",
-                      act, id),
+            fail!("%s with illegal ID %u - this lock has no condvars!", act, id),
         Some(length) =>
-            fail!("%s with illegal ID %u - ID must be less than %u",
-                      act, id, length),
+            fail!("%s with illegal ID %u - ID must be less than %u", act, id, length),
         None => blk()
     }
 }