We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Duration::try_from_secs_*
1 parent e269e6b commit aa48de0Copy full SHA for aa48de0
library/core/src/time.rs
@@ -737,7 +737,6 @@ impl Duration {
737
/// # Examples
738
/// ```
739
/// #![feature(duration_checked_float)]
740
- ///
741
/// use std::time::Duration;
742
///
743
/// let dur = Duration::try_from_secs_f64(2.7);
@@ -799,7 +798,6 @@ impl Duration {
799
798
800
801
802
803
804
805
/// let dur = Duration::try_from_secs_f32(2.7);
@@ -1258,7 +1256,6 @@ impl fmt::Debug for Duration {
1258
1256
1259
1257
1260
1261
-///
1262
1263
1264
/// if let Err(e) = Duration::try_from_secs_f32(-1.0) {
0 commit comments