Rollup merge of #36833 - tmiasko:system-time-error, r=steveklabnik

Reword description of SystemTimeError.

Repalce timestamp with a system time, to be more consistent with
remaining documentation.

r? @steveklabnik
This commit is contained in:
Steve Klabnik 2016-09-30 13:44:47 -04:00 committed by GitHub
commit a6f0a41b14

View file

@ -118,7 +118,7 @@ pub struct Instant(time::Instant);
pub struct SystemTime(time::SystemTime);
/// An error returned from the `duration_since` method on `SystemTime`,
/// used to learn about why how far in the opposite direction a timestamp lies.
/// used to learn how far in the opposite direction a system time lies.
#[derive(Clone, Debug)]
#[stable(feature = "time2", since = "1.8.0")]
pub struct SystemTimeError(Duration);