about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authortinaun <tinagma@gmail.com>2018-04-17 00:59:16 -0400
committertinaun <tinagma@gmail.com>2018-04-17 01:22:28 -0400
commitb84baf23788e96a1d79de543eb264ff7d2334c63 (patch)
treed0f43d2c555d5054001da4dbede7bb0ad4d76e26 /src/libcore
parent4a8f4b7e4958f5a57ca2ebb936a2f6770191eebd (diff)
downloadrust-b84baf23788e96a1d79de543eb264ff7d2334c63.tar.gz
rust-b84baf23788e96a1d79de543eb264ff7d2334c63.zip
stabilize `nonnull_cast` feature
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/ptr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs
index f953b29fdc8..74bb264cc67 100644
--- a/src/libcore/ptr.rs
+++ b/src/libcore/ptr.rs
@@ -2742,7 +2742,7 @@ impl<T: ?Sized> NonNull<T> {
     }
 
     /// Cast to a pointer of another type
-    #[unstable(feature = "nonnull_cast", issue = "47653")]
+    #[stable(feature = "nonnull_cast", since = "1.27.0")]
     pub fn cast<U>(self) -> NonNull<U> {
         unsafe {
             NonNull::new_unchecked(self.as_ptr() as *mut U)