From 4a71447d38e480ac73f7ab51ed96717ff69bec70 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Tue, 9 Aug 2022 21:15:06 -0700 Subject: [PATCH] Fix doc links in core::time::Duration::as_secs --- library/core/src/time.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/core/src/time.rs b/library/core/src/time.rs index 48353756741a1..0fe5dd0b804f8 100644 --- a/library/core/src/time.rs +++ b/library/core/src/time.rs @@ -321,8 +321,8 @@ impl Duration { /// To determine the total number of seconds represented by the `Duration` /// including the fractional part, use [`as_secs_f64`] or [`as_secs_f32`] /// - /// [`as_secs_f32`]: Duration::as_secs_f64 - /// [`as_secs_f64`]: Duration::as_secs_f32 + /// [`as_secs_f64`]: Duration::as_secs_f64 + /// [`as_secs_f32`]: Duration::as_secs_f32 /// [`subsec_nanos`]: Duration::subsec_nanos #[stable(feature = "duration", since = "1.3.0")] #[rustc_const_stable(feature = "duration_consts", since = "1.32.0")]