Fix whitespace

Co-authored-by: Ivan Tham <pickfire@riseup.net>
This commit is contained in:
Tim Vermeulen 2020-10-07 12:48:08 +02:00 committed by The8472
parent 5e90909f38
commit 5485f8a8ba

View file

@ -185,8 +185,7 @@ macro_rules! iterator {
}
}
#[inline]
fn advance_by(&mut self, n: usize) -> Result<(), usize>{
fn advance_by(&mut self, n: usize) -> Result<(), usize> {
let advance = cmp::min(n, len!(self));
// SAFETY: By construction, `advance` does not exceed `self.len()`.
unsafe { self.post_inc_start(advance as isize) };