diff options
| author | bors <bors@rust-lang.org> | 2015-04-29 02:16:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-04-29 02:16:01 +0000 |
| commit | c48b499ea31592fe332e8927ecf64a44ebcb0889 (patch) | |
| tree | 9d0f557bd32aced1f01622dee07ac1530afe810c /src/libstd/sys | |
| parent | c4b23aec4c5ddf32df1e0ba3cc23212327cd8b1f (diff) | |
| parent | 69abc12b0044d641e714bdd73a299cfa4136b7b8 (diff) | |
| download | rust-c48b499ea31592fe332e8927ecf64a44ebcb0889.tar.gz rust-c48b499ea31592fe332e8927ecf64a44ebcb0889.zip | |
Auto merge of #24888 - tamird:snapshot, r=alexcrichton
r? @alexcrichton cc @brson
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/common/remutex.rs | 2 |
1 files changed, 0 insertions, 2 deletions
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<T> ReentrantMutex<T> { } } -#[unsafe_destructor] impl<T> Drop for ReentrantMutex<T> { 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) { |
