6

Stabilize core::future::{pending,ready} by yoshuawuyts · Pull Request #74328 · r...

 3 years ago
source link: https://github.com/rust-lang/rust/pull/74328
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Member

yoshuawuyts commented on Jul 14

edited

This PR stabilizes core::future::{pending,ready}, tracking issue #70921.

Motivation

These functions have been on nightly for three months now, and have lived as part of the futures ecosystem for several years. In that time these functions have undergone several iterations, with the async-std impls probably diverging the most (using async fn, which in hindsight was a mistake).

It seems the space around these functions has been thoroughly explored over the last couple of years, and the ecosystem has settled on the current shape of the functions. It seems highly unlikely we'd want to make any further changes to these functions, so I propose we stabilize.

Implementation notes

This stabilization PR was fairly straightforward; this feature has already thoroughly been reviewed by the libs team already in #70834. So all this PR does is remove the feature gate.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK