diff options
| author | Pietro Albini <pietro@pietroalbini.org> | 2025-01-06 20:28:08 +0100 |
|---|---|---|
| committer | Pietro Albini <pietro@pietroalbini.org> | 2025-01-08 20:02:18 +0100 |
| commit | 4ae92b7adbafd018bf0c829a4691ffbb3933d8f0 (patch) | |
| tree | 31d6f0fb67aca34f04bbf65a9b4ef57bc454e62f /library/core/src/num/mod.rs | |
| parent | 6afee111c2faf86ba884ea748967130abad37b52 (diff) | |
| download | rust-4ae92b7adbafd018bf0c829a4691ffbb3933d8f0.tar.gz rust-4ae92b7adbafd018bf0c829a4691ffbb3933d8f0.zip | |
update version placeholders
Diffstat (limited to 'library/core/src/num/mod.rs')
| -rw-r--r-- | library/core/src/num/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/core/src/num/mod.rs b/library/core/src/num/mod.rs index 1f5b8ce6c6e..67d219654b9 100644 --- a/library/core/src/num/mod.rs +++ b/library/core/src/num/mod.rs @@ -138,8 +138,8 @@ macro_rules! midpoint_impl { #[doc = concat!("assert_eq!(0", stringify!($SelfT), ".midpoint(4), 2);")] #[doc = concat!("assert_eq!(1", stringify!($SelfT), ".midpoint(4), 2);")] /// ``` - #[stable(feature = "num_midpoint", since = "CURRENT_RUSTC_VERSION")] - #[rustc_const_stable(feature = "num_midpoint", since = "CURRENT_RUSTC_VERSION")] + #[stable(feature = "num_midpoint", since = "1.85.0")] + #[rustc_const_stable(feature = "num_midpoint", since = "1.85.0")] #[must_use = "this returns the result of the operation, \ without modifying the original"] #[inline] @@ -192,8 +192,8 @@ macro_rules! midpoint_impl { #[doc = concat!("assert_eq!(0", stringify!($SelfT), ".midpoint(4), 2);")] #[doc = concat!("assert_eq!(1", stringify!($SelfT), ".midpoint(4), 2);")] /// ``` - #[stable(feature = "num_midpoint", since = "CURRENT_RUSTC_VERSION")] - #[rustc_const_stable(feature = "num_midpoint", since = "CURRENT_RUSTC_VERSION")] + #[stable(feature = "num_midpoint", since = "1.85.0")] + #[rustc_const_stable(feature = "num_midpoint", since = "1.85.0")] #[must_use = "this returns the result of the operation, \ without modifying the original"] #[inline] |
