diff --git a/futures-task/src/waker.rs b/futures-task/src/waker.rs index b1410a192..747457a52 100644 --- a/futures-task/src/waker.rs +++ b/futures-task/src/waker.rs @@ -36,6 +36,7 @@ unsafe fn increase_refcount(data: *const ()) { } // used by `waker_ref` +#[inline(always)] unsafe fn clone_arc_raw(data: *const ()) -> RawWaker { unsafe { increase_refcount::(data) } RawWaker::new(data, waker_vtable::())