Skip to content

Commit ff097ca

Browse files
authored
Rollup merge of rust-lang#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
2 parents f107710 + 82df9d7 commit ff097ca

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/libstd/sys/sgx/rwlock.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ unsafe fn rw_lock_size_assert(r: RWLock) {
1919
mem::transmute::<RWLock, [u8; 128]>(r);
2020
}
2121

22-
//unsafe impl Send for RWLock {}
23-
//unsafe impl Sync for RWLock {} // FIXME
24-
2522
impl RWLock {
2623
pub const fn new() -> RWLock {
2724
RWLock {

0 commit comments

Comments
 (0)