Skip to content

Commit 01a57a2

Browse files
committed
Reword description of SystemTimeError.
Repalce timestamp with a system time, to be more consistent with remaining documentation.
1 parent 704bcc0 commit 01a57a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/time/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ pub struct Instant(time::Instant);
118118
pub struct SystemTime(time::SystemTime);
119119

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

0 commit comments

Comments
 (0)