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.
dtolnay
left a comment
There was a problem hiding this comment.
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