about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/std/src/time.rs9
1 files changed, 3 insertions, 6 deletions
diff --git a/library/std/src/time.rs b/library/std/src/time.rs
index 07b07c0fbe3..969c442884d 100644
--- a/library/std/src/time.rs
+++ b/library/std/src/time.rs
@@ -589,12 +589,9 @@ impl SystemTimeError {
     /// Returns the positive duration which represents how far forward the
     /// second system time was from the first.
     ///
-    /// A `SystemTimeError` is returned from the [`duration_since`] and [`elapsed`]
-    /// methods of [`SystemTime`] whenever the second system time represents a point later
-    /// in time than the `self` of the method call.
-    ///
-    /// [`duration_since`]: SystemTime::duration_since
-    /// [`elapsed`]: SystemTime::elapsed
+    /// A `SystemTimeError` is returned from the [`SystemTime::duration_since`]
+    /// and [`SystemTime::elapsed`] methods whenever the second system time
+    /// represents a point later in time than the `self` of the method call.
     ///
     /// # Examples
     ///