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:
commit
456fa39031
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user