mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-24 12:54:00 +00:00
doc: this is already mentioned in previous paragraph, and is harder to read
This commit is contained in:
parent
3dd7e6ed7c
commit
cc815d2de0
@ -207,9 +207,8 @@ impl SystemTimeError {
|
||||
/// second system time was from the first.
|
||||
///
|
||||
/// A `SystemTimeError` is returned from the `duration_from_earlier`
|
||||
/// operation whenever the second duration, `earlier`, actually represents a
|
||||
/// point later in time than the `self` of the method call. This function
|
||||
/// will extract and return the amount of time later `earlier` actually is.
|
||||
/// operation whenever the second system time represents a point later
|
||||
/// in time than the `self` of the method call.
|
||||
pub fn duration(&self) -> Duration {
|
||||
self.0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user