Skip to content

Commit

Permalink
doc: this is already mentioned in previous paragraph, and is harder t…
Browse files Browse the repository at this point in the history
…o read
  • Loading branch information
tshepang committed Nov 26, 2015
1 parent 3dd7e6e commit cc815d2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/libstd/time/mod.rs
Expand Up @@ -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
}
Expand Down

0 comments on commit cc815d2

Please sign in to comment.