Skip to content

Commit 7f2bb29

Browse files
authored
Rollup merge of #74669 - Homarechan:fix_typo, r=lcnr
Fix typo
2 parents cff5953 + 37f6f7f commit 7f2bb29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/iter/range.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub unsafe trait Step: Clone + PartialOrd + Sized {
3232
/// * `steps_between(&a, &b) == Some(n)` only if `a <= b`
3333
/// * Corollary: `steps_between(&a, &b) == Some(0)` if and only if `a == b`
3434
/// * Note that `a <= b` does _not_ imply `steps_between(&a, &b) != None`;
35-
/// this is the case wheen it would require more than `usize::MAX` steps to get to `b`
35+
/// this is the case when it would require more than `usize::MAX` steps to get to `b`
3636
/// * `steps_between(&a, &b) == None` if `a > b`
3737
fn steps_between(start: &Self, end: &Self) -> Option<usize>;
3838

0 commit comments

Comments
 (0)