diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2018-03-01 02:29:46 -0800 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2018-03-01 02:29:46 -0800 |
| commit | 5105fc1681bb5be631850a6ae699dd97f929dd76 (patch) | |
| tree | a198acdd6363d848db917ccc61f6adbed8b2ba32 /src/libcore | |
| parent | 11fefeb61c959c6a964120036992aed34f9d4282 (diff) | |
Fix braces
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/iter/mod.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libcore/iter/mod.rs b/src/libcore/iter/mod.rs index 533ff388b76..257d7d6caaa 100644 --- a/src/libcore/iter/mod.rs +++ b/src/libcore/iter/mod.rs @@ -1108,8 +1108,7 @@ impl<A, B> ZipImpl<A, B> for Zip<A, B> } #[inline] - default fn nth(&mut self, n: usize) -> Option<Self::Item> - { + default fn nth(&mut self, n: usize) -> Option<Self::Item> { self.super_nth(n) } @@ -1194,8 +1193,7 @@ impl<A, B> ZipImpl<A, B> for Zip<A, B> } #[inline] - fn nth(&mut self, n: usize) -> Option<Self::Item> - { + fn nth(&mut self, n: usize) -> Option<Self::Item> { let delta = cmp::min(n, self.len - self.index); let end = self.index + delta; while self.index < end { |
