diff --git a/futures-task/src/waker.rs b/futures-task/src/waker.rs index ef5abfbad..ce90aa83d 100644 --- a/futures-task/src/waker.rs +++ b/futures-task/src/waker.rs @@ -37,6 +37,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::())