Skip to content

Commit 4ab4aa8

Browse files
committed
actually fixed bug
1 parent 7b3dc62 commit 4ab4aa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/iter/range.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ impl<A: Step> Iterator for ops::Range<A> {
850850
#[inline]
851851
fn size_hint(&self) -> (usize, Option<usize>) {
852852
if self.start < self.end {
853-
(0, Some(0));
853+
(0, Some(0))
854854
} else {
855855
Step::steps_between(&self.start, &self.end)
856856
}

0 commit comments

Comments
 (0)