We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b91e76 commit 5f259acCopy full SHA for 5f259ac
library/core/src/task/wake.rs
@@ -863,8 +863,7 @@ impl LocalWaker {
863
/// ```
864
#[inline]
865
#[must_use]
866
- #[stable(feature = "noop_waker", since = "CURRENT_RUSTC_VERSION")]
867
- #[rustc_const_stable(feature = "noop_waker", since = "CURRENT_RUSTC_VERSION")]
+ #[unstable(feature = "local_waker", issue = "118959")]
868
pub const fn noop() -> &'static LocalWaker {
869
const WAKER: &LocalWaker = &LocalWaker { waker: RawWaker::NOOP };
870
WAKER
0 commit comments