Remove unnecessary parentheses.

This commit is contained in:
Huon Wilson
2014-01-19 19:21:14 +11:00
parent 3901228811
commit 39713b8295
47 changed files with 90 additions and 98 deletions

View File

@@ -481,7 +481,7 @@ fn test_spawn_sched() {
fn f(i: int, ch: SharedChan<()>) {
let ch = ch.clone();
do spawn {
if (i == 0) {
if i == 0 {
ch.send(());
} else {
f(i - 1, ch);