Auto merge of #80808 - CAD97:patch-3, r=nagisa
Fix typo in Step trait
... I don't know how this major typo happened, whoops 🙃
`@bors` rollup=always
(comment only change)
This commit is contained in:
commit
ef589490a7
@ -111,7 +111,7 @@ unsafe fn forward_unchecked(start: Self, count: usize) -> Self {
|
||||
Step::forward(start, count)
|
||||
}
|
||||
|
||||
/// Returns the value that would be obtained by taking the *successor*
|
||||
/// Returns the value that would be obtained by taking the *predecessor*
|
||||
/// of `self` `count` times.
|
||||
///
|
||||
/// If this would overflow the range of values supported by `Self`, returns `None`.
|
||||
|
Loading…
Reference in New Issue
Block a user