about summary refs log tree commit diff
path: root/library/core/src/task/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-05-19 14:50:42 +0000
committerbors <bors@rust-lang.org>2023-05-19 14:50:42 +0000
commit8a281f9c796ee8cbebb07bbeec04ef2f2dd8db45 (patch)
tree884bf4eeb8c0a8288afb3a61addebfaff6058422 /library/core/src/task/mod.rs
parent17a681000b98d58d6e54cecc3e33d978c34ede32 (diff)
parent4fbca2e1d500c1a39d0f5eb822faec2a49cdc071 (diff)
downloadrust-8a281f9c796ee8cbebb07bbeec04ef2f2dd8db45.tar.gz
rust-8a281f9c796ee8cbebb07bbeec04ef2f2dd8db45.zip
Auto merge of #107060 - ibraheemdev:poll-ready, r=joshtriplett
Remove unstable `Poll::ready`

Based on the discussion in https://github.com/rust-lang/rust/issues/89780, this API is problematic and would likely require changes over an edition. Now that `task::ready!` is stabilized, this seems unlikely to happen, so I think we should just go ahead and remove it.

ACP: https://github.com/rust-lang/libs-team/issues/214
Diffstat (limited to 'library/core/src/task/mod.rs')
-rw-r--r--library/core/src/task/mod.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/library/core/src/task/mod.rs b/library/core/src/task/mod.rs
index c5f89b9a2c6..3f0080e3832 100644
--- a/library/core/src/task/mod.rs
+++ b/library/core/src/task/mod.rs
@@ -13,5 +13,3 @@ pub use self::wake::{Context, RawWaker, RawWakerVTable, Waker};
 mod ready;
 #[stable(feature = "ready_macro", since = "1.64.0")]
 pub use ready::ready;
-#[unstable(feature = "poll_ready", issue = "89780")]
-pub use ready::Ready;