Skip to content

Commit 5105fc1

Browse files
committed
Fix braces
1 parent 11fefeb commit 5105fc1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/libcore/iter/mod.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -1108,8 +1108,7 @@ impl<A, B> ZipImpl<A, B> for Zip<A, B>
11081108
}
11091109

11101110
#[inline]
1111-
default fn nth(&mut self, n: usize) -> Option<Self::Item>
1112-
{
1111+
default fn nth(&mut self, n: usize) -> Option<Self::Item> {
11131112
self.super_nth(n)
11141113
}
11151114

@@ -1194,8 +1193,7 @@ impl<A, B> ZipImpl<A, B> for Zip<A, B>
11941193
}
11951194

11961195
#[inline]
1197-
fn nth(&mut self, n: usize) -> Option<Self::Item>
1198-
{
1196+
fn nth(&mut self, n: usize) -> Option<Self::Item> {
11991197
let delta = cmp::min(n, self.len - self.index);
12001198
let end = self.index + delta;
12011199
while self.index < end {

0 commit comments

Comments
 (0)