about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2019-02-06 00:29:13 +0900
committerGitHub <noreply@github.com>2019-02-06 00:29:13 +0900
commitff097ca7736d833759569f81668034ea01fe7d73 (patch)
tree506022915b8db338ef51a501907fb213410d2a74 /src/libstd
parentf107710afb820111ae608b698e68ec84f379e350 (diff)
parent82df9d7434c949b4357fb4c80c36961404226f93 (diff)
downloadrust-ff097ca7736d833759569f81668034ea01fe7d73.tar.gz
rust-ff097ca7736d833759569f81668034ea01fe7d73.zip
Rollup merge of #58142 - jethrogb:jb/sgx-rwlock, r=joshtriplett
Remove stray FIXME

These were copied from the WebAssembly implementation, and later commented. There is nothing to be fixed, RWLock is Send/Sync because all member fields are Send/Sync.

r? @joshtriplett
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/sys/sgx/rwlock.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libstd/sys/sgx/rwlock.rs b/src/libstd/sys/sgx/rwlock.rs
index 43ceae7d33b..33163a556c1 100644
--- a/src/libstd/sys/sgx/rwlock.rs
+++ b/src/libstd/sys/sgx/rwlock.rs
@@ -19,9 +19,6 @@ unsafe fn rw_lock_size_assert(r: RWLock) {
     mem::transmute::<RWLock, [u8; 128]>(r);
 }
 
-//unsafe impl Send for RWLock {}
-//unsafe impl Sync for RWLock {} // FIXME
-
 impl RWLock {
     pub const fn new() -> RWLock {
         RWLock {