mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
Fix missed fn rename in #59284
This commit is contained in:
@@ -268,7 +268,7 @@ fn zero_stack() {
|
||||
|
||||
#[inline(never)]
|
||||
unsafe fn rwlock_new(init: &mut MaybeUninit<RWLock>) {
|
||||
init.set(RWLock::new());
|
||||
init.write(RWLock::new());
|
||||
}
|
||||
|
||||
unsafe {
|
||||
|
||||
Reference in New Issue
Block a user