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

@@ -140,7 +140,7 @@ pub fn matches_codepattern(a : &str, b : &str) -> bool {
fn scan_for_non_ws_or_end(a : &str, idx: uint) -> uint {
let mut i = idx;
let len = a.len();
while ((i < len) && (is_whitespace(a.char_at(i)))) {
while (i < len) && (is_whitespace(a.char_at(i))) {
i += 1;
}
i