Skip to content

Commit cc815d2

Browse files
committed
doc: this is already mentioned in previous paragraph, and is harder to read
1 parent 3dd7e6e commit cc815d2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/libstd/time/mod.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,8 @@ impl SystemTimeError {
207207
/// second system time was from the first.
208208
///
209209
/// A `SystemTimeError` is returned from the `duration_from_earlier`
210-
/// operation whenever the second duration, `earlier`, actually represents a
211-
/// point later in time than the `self` of the method call. This function
212-
/// will extract and return the amount of time later `earlier` actually is.
210+
/// operation whenever the second system time represents a point later
211+
/// in time than the `self` of the method call.
213212
pub fn duration(&self) -> Duration {
214213
self.0
215214
}

0 commit comments

Comments
 (0)