Skip to content

Move ready! macro to futures-core from futures-util #1698

@taiki-e

Description

@taiki-e

I think this macro is stable enough, and I think it makes sense that it is in the futures-core (this macro only depend on core::task. Also some crates which doesn't depend on futures-util redefine this macro).

The concern was that Poll could be changed to not implement Try trait (rust-lang/rust#59725 (comment)), but this cannot happen as futures_api has already stabilized.

Refs:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions