about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-07-17 14:45:38 +0200
committerSimon Sapin <simon.sapin@exyr.org>2017-07-22 20:38:40 +0200
commitf732911cf568f8f7b98dbcfd85241e299d2c8418 (patch)
treec9563fa96a922d759ae5720b551bb2d252543944
parent1ba8b1532169e608693d815a4e53d70a64e1329e (diff)
downloadrust-f732911cf568f8f7b98dbcfd85241e299d2c8418.tar.gz
rust-f732911cf568f8f7b98dbcfd85241e299d2c8418.zip
Fix unstable feature name for some impls for Unique<T>
-rw-r--r--src/libcore/ptr.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs
index 9413a908cb1..60cf1a20530 100644
--- a/src/libcore/ptr.rs
+++ b/src/libcore/ptr.rs
@@ -1144,14 +1144,14 @@ impl<T: ?Sized> Unique<T> {
     }
 }
 
-#[unstable(feature = "shared", issue = "27730")]
+#[unstable(feature = "unique", issue = "27730")]
 impl<T: ?Sized> Clone for Unique<T> {
     fn clone(&self) -> Self {
         *self
     }
 }
 
-#[unstable(feature = "shared", issue = "27730")]
+#[unstable(feature = "unique", issue = "27730")]
 impl<T: ?Sized> Copy for Unique<T> { }
 
 #[unstable(feature = "unique", issue = "27730")]