Add #[inline] to RawWaker::new
This commit is contained in:
parent
ac48e62db8
commit
0a51a9fb00
@ -37,6 +37,7 @@ impl RawWaker {
|
||||
/// The `vtable` customizes the behavior of a `Waker` which gets created
|
||||
/// from a `RawWaker`. For each operation on the `Waker`, the associated
|
||||
/// function in the `vtable` of the underlying `RawWaker` will be called.
|
||||
#[inline]
|
||||
#[rustc_promotable]
|
||||
#[stable(feature = "futures_api", since = "1.36.0")]
|
||||
#[rustc_const_stable(feature = "futures_api", since = "1.36.0")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user