about summary refs log tree commit diff
path: root/library/core/src/ptr
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2023-08-21 09:12:15 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2023-08-22 06:57:00 -0400
commitc8522adb9709cc62123fe4e68082abf90cdffc62 (patch)
treeee817e3c7b63f673c6efcb5f040f02dbed38937e /library/core/src/ptr
parent95305899b8493a65065ebdeae44e841d243621eb (diff)
downloadrust-c8522adb9709cc62123fe4e68082abf90cdffc62.tar.gz
rust-c8522adb9709cc62123fe4e68082abf90cdffc62.zip
Replace version placeholders with 1.73.0
Diffstat (limited to 'library/core/src/ptr')
-rw-r--r--library/core/src/ptr/non_null.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/ptr/non_null.rs b/library/core/src/ptr/non_null.rs
index 9582ca9e0be..e0fd347a049 100644
--- a/library/core/src/ptr/non_null.rs
+++ b/library/core/src/ptr/non_null.rs
@@ -367,7 +367,7 @@ impl<T: ?Sized> NonNull<T> {
     ///
     /// [the module documentation]: crate::ptr#safety
     #[stable(feature = "nonnull", since = "1.25.0")]
-    #[rustc_const_stable(feature = "const_nonnull_as_ref", since = "CURRENT_RUSTC_VERSION")]
+    #[rustc_const_stable(feature = "const_nonnull_as_ref", since = "1.73.0")]
     #[must_use]
     #[inline(always)]
     pub const unsafe fn as_ref<'a>(&self) -> &'a T {