Rollup merge of #100353 - theli-ua:master, r=joshtriplett
Fix doc links in core::time::Duration::as_secs
This commit is contained in:
commit
efa182f3db
1 changed files with 2 additions and 2 deletions
|
@ -321,8 +321,8 @@ impl Duration {
|
||||||
/// To determine the total number of seconds represented by the `Duration`
|
/// To determine the total number of seconds represented by the `Duration`
|
||||||
/// including the fractional part, use [`as_secs_f64`] or [`as_secs_f32`]
|
/// 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_f64
|
||||||
/// [`as_secs_f64`]: Duration::as_secs_f32
|
/// [`as_secs_f32`]: Duration::as_secs_f32
|
||||||
/// [`subsec_nanos`]: Duration::subsec_nanos
|
/// [`subsec_nanos`]: Duration::subsec_nanos
|
||||||
#[stable(feature = "duration", since = "1.3.0")]
|
#[stable(feature = "duration", since = "1.3.0")]
|
||||||
#[rustc_const_stable(feature = "duration_consts", since = "1.32.0")]
|
#[rustc_const_stable(feature = "duration_consts", since = "1.32.0")]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue