Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0342284

Browse files
committedMay 3, 2024
Use CURRENT_RUSTC_VERSION
1 parent 9eb77db commit 0342284

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎core/src/time.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ impl Duration {
10681068
/// let dur2 = Duration::new(5, 400_000_000);
10691069
/// assert_eq!(dur1.div_duration_f64(dur2), 0.5);
10701070
/// ```
1071-
#[stable(feature = "div_duration", since = "1.80.0")]
1071+
#[stable(feature = "div_duration", since = "CURRENT_RUSTC_VERSION")]
10721072
#[must_use = "this returns the result of the operation, \
10731073
without modifying the original"]
10741074
#[inline]
@@ -1087,7 +1087,7 @@ impl Duration {
10871087
/// let dur2 = Duration::new(5, 400_000_000);
10881088
/// assert_eq!(dur1.div_duration_f32(dur2), 0.5);
10891089
/// ```
1090-
#[stable(feature = "div_duration", since = "1.80.0")]
1090+
#[stable(feature = "div_duration", since = "CURRENT_RUSTC_VERSION")]
10911091
#[must_use = "this returns the result of the operation, \
10921092
without modifying the original"]
10931093
#[inline]

0 commit comments

Comments
 (0)
Failed to load comments.