Skip to content

Commit

Permalink
Rollup merge of #100353 - theli-ua:master, r=joshtriplett
Browse files Browse the repository at this point in the history
Fix doc links in core::time::Duration::as_secs
  • Loading branch information
Dylan-DPC authored Aug 10, 2022
2 parents 8fc0fda + 4a71447 commit 9b3894b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/core/src/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down

0 comments on commit 9b3894b

Please sign in to comment.