diff options
| author | kanimum <tikuwakunn@icloud.com> | 2020-07-23 17:29:52 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-23 17:29:52 +0900 |
| commit | 37f6f7f4af8e726d33fb15c25e673984bb94172b (patch) | |
| tree | 954d48b27f53fdeb0b31e67b5b686da204d8ef49 | |
| parent | e8b55a4ad230ebec762fdfc4f241ba98a98560af (diff) | |
| download | rust-37f6f7f4af8e726d33fb15c25e673984bb94172b.tar.gz rust-37f6f7f4af8e726d33fb15c25e673984bb94172b.zip | |
Fix typo
| -rw-r--r-- | src/libcore/iter/range.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/iter/range.rs b/src/libcore/iter/range.rs index 9f55f378a5c..9f34aee1947 100644 --- a/src/libcore/iter/range.rs +++ b/src/libcore/iter/range.rs @@ -32,7 +32,7 @@ pub unsafe trait Step: Clone + PartialOrd + Sized { /// * `steps_between(&a, &b) == Some(n)` only if `a <= b` /// * Corollary: `steps_between(&a, &b) == Some(0)` if and only if `a == b` /// * Note that `a <= b` does _not_ imply `steps_between(&a, &b) != None`; - /// this is the case wheen it would require more than `usize::MAX` steps to get to `b` + /// this is the case when it would require more than `usize::MAX` steps to get to `b` /// * `steps_between(&a, &b) == None` if `a > b` fn steps_between(start: &Self, end: &Self) -> Option<usize>; |
