diff options
| author | kennytm <kennytm@gmail.com> | 2019-02-06 00:29:13 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-06 00:29:13 +0900 |
| commit | ff097ca7736d833759569f81668034ea01fe7d73 (patch) | |
| tree | 506022915b8db338ef51a501907fb213410d2a74 /src/libstd | |
| parent | f107710afb820111ae608b698e68ec84f379e350 (diff) | |
| parent | 82df9d7434c949b4357fb4c80c36961404226f93 (diff) | |
| download | rust-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.rs | 3 |
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 { |
