Skip to content

Commit

Permalink
Rollup merge of rust-lang#59511 - jethrogb:jb/maybeinit-deprecated, r…
Browse files Browse the repository at this point in the history
…=Centril

Fix missed fn rename in rust-lang#59284

See rust-lang#59284 (comment)
  • Loading branch information
Centril committed Mar 29, 2019
2 parents 18680ae + 93fb4d8 commit 456fa39
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 456fa39

Please sign in to comment.