mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
Use slice_as_mut_ptr instead of first_ptr_mut.
This function was renamed.
This commit is contained in:
parent
8ae3b50976
commit
e6d61ade9c
@ -124,7 +124,7 @@ impl Condvar {
|
||||
let mut nevents: mem::MaybeUninit<usize> = mem::MaybeUninit::uninit();
|
||||
let ret = abi::poll(
|
||||
subscriptions.as_ptr(),
|
||||
mem::MaybeUninit::first_ptr_mut(&mut events),
|
||||
mem::MaybeUninit::slice_as_mut_ptr(&mut events),
|
||||
2,
|
||||
nevents.as_mut_ptr(),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user