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 94cb276 commit db64f45Copy full SHA for db64f45
src/global_native.rs
@@ -84,7 +84,7 @@ static VTABLE: RawWakerVTable = RawWakerVTable::new(raw_clone, raw_wake, raw_wak
84
85
fn raw_clone(ptr: *const ()) -> RawWaker {
86
let me = ManuallyDrop::new(unsafe { Arc::from_raw(ptr as *const Thread) });
87
- mem::forget(me.clone());
+ mem::forget(me);
88
RawWaker::new(ptr, &VTABLE)
89
}
90
0 commit comments