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.
#[inline(always)]
clone_arc_raw
1 parent 721d7e6 commit 0c0b39fCopy full SHA for 0c0b39f
futures-task/src/waker.rs
@@ -37,6 +37,7 @@ unsafe fn increase_refcount<T: ArcWake + 'static>(data: *const ()) {
37
}
38
39
// used by `waker_ref`
40
+#[inline(always)]
41
unsafe fn clone_arc_raw<T: ArcWake + 'static>(data: *const ()) -> RawWaker {
42
unsafe { increase_refcount::<T>(data) }
43
RawWaker::new(data, waker_vtable::<T>())
0 commit comments