Skip to content

Commit a6f0a41

Browse files
authored
Rollup merge of rust-lang#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
2 parents c2977ea + 01a57a2 commit a6f0a41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/time/mod.rs

Lines changed: 1 addition & 1 deletion
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)