about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2015-11-25 22:52:12 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2015-11-26 04:43:17 +0200
commitcc815d2de087c85aa416693edcba2006774383ed (patch)
treeb1badd1e39800bd3ca65c81071d2b4aa08480339 /src/libstd
parent3dd7e6ed7c9e2f71844923c96de18241d4a9fded (diff)
downloadrust-cc815d2de087c85aa416693edcba2006774383ed.tar.gz
rust-cc815d2de087c85aa416693edcba2006774383ed.zip
doc: this is already mentioned in previous paragraph, and is harder to read
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/time/mod.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libstd/time/mod.rs b/src/libstd/time/mod.rs
index a9d4c79abfc..261f3e266d7 100644
--- a/src/libstd/time/mod.rs
+++ b/src/libstd/time/mod.rs
@@ -207,9 +207,8 @@ impl SystemTimeError {
     /// second system time was from the first.
     ///
     /// A `SystemTimeError` is returned from the `duration_from_earlier`
-    /// operation whenever the second duration, `earlier`, actually represents a
-    /// point later in time than the `self` of the method call. This function
-    /// will extract and return the amount of time later `earlier` actually is.
+    /// operation whenever the second system time represents a point later
+    /// in time than the `self` of the method call.
     pub fn duration(&self) -> Duration {
         self.0
     }