Rollup merge of #59511 - jethrogb:jb/maybeinit-deprecated, r=Centril

Fix missed fn rename in #59284

See https://github.com/rust-lang/rust/pull/59284#issuecomment-477822797
This commit is contained in:
Mazdak Farrokhzad 2019-03-29 02:41:00 +01:00 committed by GitHub
commit 456fa39031
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {