Fix typo in Step trait
This commit is contained in:
parent
e02b0f4a55
commit
02850d3f30
1 changed files with 1 additions and 1 deletions
|
|
@ -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`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue