Skip to content

Commit

Permalink
Fix missed fn rename in rust-lang#59284
Browse files Browse the repository at this point in the history
  • Loading branch information
Jethro Beekman committed Mar 29, 2019
1 parent 237bf32 commit 93fb4d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sys/sgx/rwlock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ mod tests {

#[inline(never)]
unsafe fn rwlock_new(init: &mut MaybeUninit<RWLock>) {
init.set(RWLock::new());
init.write(RWLock::new());
}

unsafe {
Expand Down

0 comments on commit 93fb4d8

Please sign in to comment.