about summary refs log tree commit diff
path: root/library/std/src/sys/sgx/rwlock.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys/sgx/rwlock.rs')
-rw-r--r--library/std/src/sys/sgx/rwlock.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/library/std/src/sys/sgx/rwlock.rs b/library/std/src/sys/sgx/rwlock.rs
index 47be4c006ec..a4e74c5da08 100644
--- a/library/std/src/sys/sgx/rwlock.rs
+++ b/library/std/src/sys/sgx/rwlock.rs
@@ -168,9 +168,6 @@ impl RwLock {
             unsafe { self.__read_unlock(rguard, wguard) };
         }
     }
-
-    #[inline]
-    pub unsafe fn destroy(&self) {}
 }
 
 // The following functions are needed by libunwind. These symbols are named