about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2016-09-30 13:44:47 -0400
committerGitHub <noreply@github.com>2016-09-30 13:44:47 -0400
commita6f0a41b1471a3f17bea352afe5bd83fcf1bb80f (patch)
treed77582a9bc1957aecf032cf1e795bc04c5aa2600 /src/libstd
parentc2977ea0389176719978b8e2792ec84a3c206f7a (diff)
parent01a57a2faaa394453ad8dd1b2813840f754dfd0b (diff)
downloadrust-a6f0a41b1471a3f17bea352afe5bd83fcf1bb80f.tar.gz
rust-a6f0a41b1471a3f17bea352afe5bd83fcf1bb80f.zip
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
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/time/mod.rs2
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);