Skip to content

Commit 0a51a9f

Browse files
committed
Add #[inline] to RawWaker::new
1 parent ac48e62 commit 0a51a9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/task/wake.rs

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ impl RawWaker {
3737
/// The `vtable` customizes the behavior of a `Waker` which gets created
3838
/// from a `RawWaker`. For each operation on the `Waker`, the associated
3939
/// function in the `vtable` of the underlying `RawWaker` will be called.
40+
#[inline]
4041
#[rustc_promotable]
4142
#[stable(feature = "futures_api", since = "1.36.0")]
4243
#[rustc_const_stable(feature = "futures_api", since = "1.36.0")]

0 commit comments

Comments
 (0)