Fix typo in Step trait

This commit is contained in:
Christopher Durham
2021-01-07 21:29:17 -05:00
committed by GitHub
parent e02b0f4a55
commit 02850d3f30
+1 -1
View File
@@ -111,7 +111,7 @@ unsafe fn forward_unchecked(start: Self, count: usize) -> Self {
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`.