Skip to content

Commit 37f6f7f

Browse files
authored
Fix typo
1 parent e8b55a4 commit 37f6f7f

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)