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:
bors 2021-01-09 13:56:15 +00:00
commit ef589490a7

View File

@ -111,7 +111,7 @@ pub unsafe trait Step: Clone + PartialOrd + Sized {
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`.