diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-01-19 19:21:14 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-01-21 22:00:18 +1100 |
| commit | 39713b829535b40aff2b7f368839d07ea7c2bf11 (patch) | |
| tree | 897cd7f2eb52770a2dd4d4c69efc47e1ecc7b4f7 /src/libsyntax/util | |
| parent | 39012288118146331add60f2b1c90b07b6a6c51b (diff) | |
| download | rust-39713b829535b40aff2b7f368839d07ea7c2bf11.tar.gz rust-39713b829535b40aff2b7f368839d07ea7c2bf11.zip | |
Remove unnecessary parentheses.
Diffstat (limited to 'src/libsyntax/util')
| -rw-r--r-- | src/libsyntax/util/parser_testing.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/util/parser_testing.rs b/src/libsyntax/util/parser_testing.rs index 5153ddf1c7d..dd3ae168149 100644 --- a/src/libsyntax/util/parser_testing.rs +++ b/src/libsyntax/util/parser_testing.rs @@ -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 |
