From 5105fc1681bb5be631850a6ae699dd97f929dd76 Mon Sep 17 00:00:00 2001 From: Scott McMurray Date: Thu, 1 Mar 2018 02:29:46 -0800 Subject: [PATCH] Fix braces --- src/libcore/iter/mod.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/libcore/iter/mod.rs b/src/libcore/iter/mod.rs index 533ff388b7604..257d7d6caaaf8 100644 --- a/src/libcore/iter/mod.rs +++ b/src/libcore/iter/mod.rs @@ -1108,8 +1108,7 @@ impl ZipImpl for Zip } #[inline] - default fn nth(&mut self, n: usize) -> Option - { + default fn nth(&mut self, n: usize) -> Option { self.super_nth(n) } @@ -1194,8 +1193,7 @@ impl ZipImpl for Zip } #[inline] - fn nth(&mut self, n: usize) -> Option - { + fn nth(&mut self, n: usize) -> Option { let delta = cmp::min(n, self.len - self.index); let end = self.index + delta; while self.index < end {