diff options
| author | Christopher Durham <cad97@cad97.com> | 2021-01-07 21:29:17 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-07 21:29:17 -0500 |
| commit | 02850d3f30aef6d3ddce8fb0d4691019d6818b63 (patch) | |
| tree | bc49ff03b5ce2757a5f3880912e54a003770b8ee | |
| parent | e02b0f4a5540ed22053f18f917b9a18291280bc5 (diff) | |
| download | rust-02850d3f30aef6d3ddce8fb0d4691019d6818b63.tar.gz rust-02850d3f30aef6d3ddce8fb0d4691019d6818b63.zip | |
Fix typo in Step trait
| -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`. |
