Fix braces

This commit is contained in:
Scott McMurray 2018-03-01 02:29:46 -08:00
parent 11fefeb61c
commit 5105fc1681

View file

@ -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 {