Skip to content

Commit

Permalink
Fix whitespace
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Tham <pickfire@riseup.net>
  • Loading branch information
2 people authored and the8472 committed Jul 22, 2021
1 parent 5e90909 commit 5485f8a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions library/core/src/slice/iter/macros.rs
Expand Up @@ -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) };
Expand Down

0 comments on commit 5485f8a

Please sign in to comment.