about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorNick Cameron <ncameron@mozilla.com>2015-05-12 14:41:08 +1200
committerNick Cameron <ncameron@mozilla.com>2015-05-13 14:35:53 +1200
commit5d4cce6cec7c0975263bbe6f4260167a772bfc89 (patch)
tree1dba65dbc1d9332fe808af52bc82951b3f453c8b /src/liballoc
parentdb1b14a194cbdbba813aeb4773ee7fa203a40fb1 (diff)
downloadrust-5d4cce6cec7c0975263bbe6f4260167a772bfc89.tar.gz
rust-5d4cce6cec7c0975263bbe6f4260167a772bfc89.zip
Rebasing
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/rc.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs
index 837cf590024..15d6e6fa960 100644
--- a/src/liballoc/rc.rs
+++ b/src/liballoc/rc.rs
@@ -460,7 +460,6 @@ impl<T: ?Sized> Deref for Rc<T> {
 }
 
 #[cfg(stage0)] // SNAP c64d671
-#[unsafe_destructor]
 #[stable(feature = "rust1", since = "1.0.0")]
 impl<T> Drop for Rc<T> {
     /// Drops the `Rc<T>`.
@@ -512,7 +511,6 @@ impl<T> Drop for Rc<T> {
 }
 
 #[cfg(not(stage0))] // SNAP c64d671
-#[unsafe_destructor]
 #[stable(feature = "rust1", since = "1.0.0")]
 impl<T: ?Sized> Drop for Rc<T> {
     /// Drops the `Rc<T>`.
@@ -933,7 +931,6 @@ impl<T: ?Sized> Weak<T> {
 }
 
 #[cfg(stage0)] // SNAP c64d671
-#[unsafe_destructor]
 #[stable(feature = "rust1", since = "1.0.0")]
 impl<T> Drop for Weak<T> {
     /// Drops the `Weak<T>`.
@@ -979,7 +976,6 @@ impl<T> Drop for Weak<T> {
 }
 
 #[cfg(not(stage0))] // SNAP c64d671
-#[unsafe_destructor]
 #[stable(feature = "rust1", since = "1.0.0")]
 impl<T: ?Sized> Drop for Weak<T> {
     /// Drops the `Weak<T>`.