diff options
| author | bors <bors@rust-lang.org> | 2021-01-09 13:56:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-01-09 13:56:15 +0000 |
| commit | ef589490a709984d3be80c9b59a1a10a4dd05e3c (patch) | |
| tree | 15b25eb2b52f85ab5c82b72e8290eec549e1ca1d | |
| parent | 46c35c76fedb90b547201d111e6423bb1de78cd6 (diff) | |
| parent | 02850d3f30aef6d3ddce8fb0d4691019d6818b63 (diff) | |
| download | rust-ef589490a709984d3be80c9b59a1a10a4dd05e3c.tar.gz rust-ef589490a709984d3be80c9b59a1a10a4dd05e3c.zip | |
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)
| -rw-r--r-- | library/core/src/iter/range.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/iter/range.rs b/library/core/src/iter/range.rs index cd8ab11cb84..4321b2187e1 100644 --- a/library/core/src/iter/range.rs +++ b/library/core/src/iter/range.rs @@ -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`. |
