]> git.lizzy.rs Git - rust.git/commitdiff
add stability text like suggested in discussion
authorSebastian Gesemann <s.gesemann@gmail.com>
Tue, 20 Jan 2015 21:35:42 +0000 (22:35 +0100)
committerSebastian Gesemann <s.gesemann@gmail.com>
Tue, 20 Jan 2015 21:35:42 +0000 (22:35 +0100)
src/libcore/ops.rs

index 2007971d84dfbf0b7402dbed45ebd5d8e5516390..e48a05d649620f87d361ea2d3bfdf749188350fb 100644 (file)
@@ -108,7 +108,7 @@ pub trait Drop {
 // based on "op T" where T is expected to be `Copy`able
 macro_rules! forward_ref_unop {
     (impl $imp:ident, $method:ident for $t:ty) => {
-        #[unstable]
+        #[unstable = "recently added, waiting for dust to settle"]
         impl<'a> $imp for &'a $t {
             type Output = <$t as $imp>::Output;
 
@@ -124,7 +124,7 @@ fn $method(self) -> <$t as $imp>::Output {
 // based on "T op U" where T and U are expected to be `Copy`able
 macro_rules! forward_ref_binop {
     (impl $imp:ident, $method:ident for $t:ty, $u:ty) => {
-        #[unstable]
+        #[unstable = "recently added, waiting for dust to settle"]
         impl<'a> $imp<$u> for &'a $t {
             type Output = <$t as $imp<$u>>::Output;
 
@@ -134,7 +134,7 @@ fn $method(self, other: $u) -> <$t as $imp<$u>>::Output {
             }
         }
 
-        #[unstable]
+        #[unstable = "recently added, waiting for dust to settle"]
         impl<'a> $imp<&'a $u> for $t {
             type Output = <$t as $imp<$u>>::Output;
 
@@ -144,7 +144,7 @@ fn $method(self, other: &'a $u) -> <$t as $imp<$u>>::Output {
             }
         }
 
-        #[unstable]
+        #[unstable = "recently added, waiting for dust to settle"]
         impl<'a, 'b> $imp<&'a $u> for &'b $t {
             type Output = <$t as $imp<$u>>::Output;