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/libextra/enum_set.rs | |
| parent | 39012288118146331add60f2b1c90b07b6a6c51b (diff) | |
Remove unnecessary parentheses.
Diffstat (limited to 'src/libextra/enum_set.rs')
| -rw-r--r-- | src/libextra/enum_set.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libextra/enum_set.rs b/src/libextra/enum_set.rs index f12da3080aa..a17e807b6ee 100644 --- a/src/libextra/enum_set.rs +++ b/src/libextra/enum_set.rs @@ -114,7 +114,7 @@ impl<E:CLike> Items<E> { impl<E:CLike> Iterator<E> for Items<E> { fn next(&mut self) -> Option<E> { - if (self.bits == 0) { + if self.bits == 0 { return None; } |
