diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2016-09-29 00:00:00 +0200 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2016-09-29 20:08:46 +0200 |
| commit | 01a57a2faaa394453ad8dd1b2813840f754dfd0b (patch) | |
| tree | f505e941e3a34e356bf4f135a0d7e830564e88ad /src | |
| parent | 704bcc0ddafc0b3c3f4879286204442d43169e30 (diff) | |
| download | rust-01a57a2faaa394453ad8dd1b2813840f754dfd0b.tar.gz rust-01a57a2faaa394453ad8dd1b2813840f754dfd0b.zip | |
Reword description of SystemTimeError.
Repalce timestamp with a system time, to be more consistent with remaining documentation.
Diffstat (limited to 'src')
| -rw-r--r-- | src/libstd/time/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/time/mod.rs b/src/libstd/time/mod.rs index 154f603c84f..6854f1e14fa 100644 --- a/src/libstd/time/mod.rs +++ b/src/libstd/time/mod.rs @@ -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); |
