We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ae3b50 commit e6d61adCopy full SHA for e6d61ad
library/std/src/sys/cloudabi/condvar.rs
@@ -124,7 +124,7 @@ impl Condvar {
124
let mut nevents: mem::MaybeUninit<usize> = mem::MaybeUninit::uninit();
125
let ret = abi::poll(
126
subscriptions.as_ptr(),
127
- mem::MaybeUninit::first_ptr_mut(&mut events),
+ mem::MaybeUninit::slice_as_mut_ptr(&mut events),
128
2,
129
nevents.as_mut_ptr(),
130
);
0 commit comments