From bd01bf92740cd6f000ecc44a9cb57ebb523f0fdf Mon Sep 17 00:00:00 2001 From: Alexis Bourget Date: Tue, 11 Aug 2020 21:53:02 +0200 Subject: [PATCH] Remove two links by changing the doc for SystemTimeError::duration --- library/std/src/time.rs | 9 +++------ 1 file 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 ///