diff options
| author | Alexis Bourget <alexis.bourget@gmail.com> | 2020-08-11 21:53:02 +0200 |
|---|---|---|
| committer | Alexis Bourget <alexis.bourget@gmail.com> | 2020-08-11 21:53:02 +0200 |
| commit | bd01bf92740cd6f000ecc44a9cb57ebb523f0fdf (patch) | |
| tree | d5cc59cf6a6563bd47749ef87ff013275bed5d20 /library | |
| parent | 26792a65cdd79a086f7894bd1bf75d5b5ad10327 (diff) | |
Remove two links by changing the doc for SystemTimeError::duration
Diffstat (limited to 'library')
| -rw-r--r-- | library/std/src/time.rs | 9 |
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 /// |
