-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stablize RefCell::{replace, swap} #46517
Conversation
RefCell::replace_with is not stablized in this PR, since it wasn't part of the RFC.
r? @aidanhs (rust_highfive has picked a reviewer for you, use r? to override) |
r? @BurntSushi |
@rfcbot fcp merge |
Team member @BurntSushi has proposed to merge this. The next step is review by the rest of the tagged teams: No concerns currently listed. Once these reviewers reach consensus, this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
|
I'm not allowed to have the same feature flag associated with multiple stability levels.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think when we stabilize part of a library feature, we pick a new name for the stabilized part and keep the old feature name for the remaining unstable part. This minimizes nightly breakage for code that is currently calling replace_with
.
🔔 This is now entering its final comment period, as per the review above. 🔔 |
@dtolnay I fixed the feature flags to work the way you asked. |
@bors: r=BurntSushi |
📌 Commit 19775f7 has been approved by |
Stablize RefCell::{replace, swap} RefCell::replace_with is not stablized in this PR, since it wasn't part of the RFC. CC rust-lang#43570
RefCell::replace_with is not stablized in this PR, since it wasn't part of the RFC.
CC #43570