Skip to content

Take advantage of new poll task::ready #11128

@Eh2406

Description

@Eh2406

The new release of Rust introduced std::task::ready, this is a macro for a pattern we use extensively in cargo. We should search through the code for anyplace like Poll::Pending => return Poll::Pending and switch to the new macro if it will make the code clearer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions