Skip to content

Commit 5f259ac

Browse files
eholkzachs18
andauthored
Move local noop waker to local_waker feature flag
Co-authored-by: zachs18 <[email protected]>
1 parent 9b91e76 commit 5f259ac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: library/core/src/task/wake.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -863,8 +863,7 @@ impl LocalWaker {
863863
/// ```
864864
#[inline]
865865
#[must_use]
866-
#[stable(feature = "noop_waker", since = "CURRENT_RUSTC_VERSION")]
867-
#[rustc_const_stable(feature = "noop_waker", since = "CURRENT_RUSTC_VERSION")]
866+
#[unstable(feature = "local_waker", issue = "118959")]
868867
pub const fn noop() -> &'static LocalWaker {
869868
const WAKER: &LocalWaker = &LocalWaker { waker: RawWaker::NOOP };
870869
WAKER

0 commit comments

Comments
 (0)