We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f72b7f7 commit 4a0da4cCopy full SHA for 4a0da4c
src/libcore/iter/mod.rs
@@ -721,7 +721,7 @@ impl<I> Iterator for StepBy<I> where I: Iterator {
721
// overflow handling
722
loop {
723
let mul = n.checked_mul(step);
724
- if unsafe { intrinsics::likely(mul.is_some())} {
+ if unsafe { intrinsics::likely(mul.is_some()) } {
725
return self.iter.nth(mul.unwrap() - 1);
726
}
727
let div_n = usize::MAX / n;
0 commit comments