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