Rollup merge of #100353 - theli-ua:master, r=joshtriplett

Fix doc links in core::time::Duration::as_secs
This commit is contained in:
Michael Goulet 2022-08-10 09:28:23 -07:00 committed by GitHub
commit efa182f3db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")]