Fix doc links in core::time::Duration::as_secs

This commit is contained in:
Anton Romanov 2022-08-09 21:15:06 -07:00
parent 34a6cae28e
commit 4a71447d38

View File

@ -321,8 +321,8 @@ pub const fn is_zero(&self) -> bool {
/// 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")]