Skip to content

Commit db64f45

Browse files
committed
Appease clippy a bit
1 parent 94cb276 commit db64f45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/global_native.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ static VTABLE: RawWakerVTable = RawWakerVTable::new(raw_clone, raw_wake, raw_wak
8484

8585
fn raw_clone(ptr: *const ()) -> RawWaker {
8686
let me = ManuallyDrop::new(unsafe { Arc::from_raw(ptr as *const Thread) });
87-
mem::forget(me.clone());
87+
mem::forget(me);
8888
RawWaker::new(ptr, &VTABLE)
8989
}
9090

0 commit comments

Comments
 (0)