Skip to content

Commit bd01bf9

Browse files
committed
Remove two links by changing the doc for SystemTimeError::duration
1 parent 26792a6 commit bd01bf9

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

library/std/src/time.rs

+3-6
Original file line numberDiff line numberDiff line change
@@ -589,12 +589,9 @@ impl SystemTimeError {
589589
/// Returns the positive duration which represents how far forward the
590590
/// second system time was from the first.
591591
///
592-
/// A `SystemTimeError` is returned from the [`duration_since`] and [`elapsed`]
593-
/// methods of [`SystemTime`] whenever the second system time represents a point later
594-
/// in time than the `self` of the method call.
595-
///
596-
/// [`duration_since`]: SystemTime::duration_since
597-
/// [`elapsed`]: SystemTime::elapsed
592+
/// A `SystemTimeError` is returned from the [`SystemTime::duration_since`]
593+
/// and [`SystemTime::elapsed`] methods whenever the second system time
594+
/// represents a point later in time than the `self` of the method call.
598595
///
599596
/// # Examples
600597
///

0 commit comments

Comments
 (0)