Skip to content

Commit c9b796c

Browse files
authored
chore: recommend to use core lib's ready macro (#2925)
Signed-off-by: tison <[email protected]>
1 parent 048995a commit c9b796c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

futures-core/src/task/poll.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
/// Extracts the successful type of a `Poll<T>`.
1+
/// Extracts the successful type of `Poll<T>`.
22
///
33
/// This macro bakes in propagation of `Pending` signals by returning early.
4+
///
5+
/// **Note:** Since Rust 1.64, this macro is soft-deprecated in favor of
6+
/// [`ready!`](core::task::ready) macro in the standard library.
47
#[macro_export]
58
macro_rules! ready {
69
($e:expr $(,)?) => {

0 commit comments

Comments
 (0)