diff options
| -rw-r--r-- | library/core/src/slice/iter/macros.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/library/core/src/slice/iter/macros.rs b/library/core/src/slice/iter/macros.rs index 5434827e5dd..791a88dd97f 100644 --- a/library/core/src/slice/iter/macros.rs +++ b/library/core/src/slice/iter/macros.rs @@ -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) }; |
