Skip to content

Commit

Permalink
Auto merge of #80808 - CAD97:patch-3, r=nagisa
Browse files Browse the repository at this point in the history
Fix typo in Step trait

... I don't know how this major typo happened, whoops 🙃

`@bors` rollup=always
(comment only change)
  • Loading branch information
bors committed Jan 9, 2021
2 parents 46c35c7 + 02850d3 commit ef58949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/iter/range.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit ef58949

Please sign in to comment.