diff options
Diffstat (limited to 'src/libstd/sync.rs')
| -rw-r--r-- | src/libstd/sync.rs | 6 |
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() } } |
