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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue