From 69abc12b0044d641e714bdd73a299cfa4136b7b8 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Mon, 27 Apr 2015 14:10:49 -0700 Subject: Register new snapshots --- src/libstd/sys/common/remutex.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/libstd/sys') diff --git a/src/libstd/sys/common/remutex.rs b/src/libstd/sys/common/remutex.rs index 00238500c3a..48c74b8d89e 100644 --- a/src/libstd/sys/common/remutex.rs +++ b/src/libstd/sys/common/remutex.rs @@ -96,7 +96,6 @@ impl ReentrantMutex { } } -#[unsafe_destructor] impl Drop for ReentrantMutex { fn drop(&mut self) { // This is actually safe b/c we know that there is no further usage of @@ -138,7 +137,6 @@ impl<'mutex, T> Deref for ReentrantMutexGuard<'mutex, T> { } } -#[unsafe_destructor] impl<'a, T> Drop for ReentrantMutexGuard<'a, T> { #[inline] fn drop(&mut self) { -- cgit 1.4.1-3-g733a5