Add replace and swap functions to RefCell#2057
Add replace and swap functions to RefCell#2057alexcrichton merged 2 commits intorust-lang:masterfrom
Conversation
|
Would |
|
That's not part of the RFC. Since the only way you can make the swap and replace functions trigger is by doing them at the same time as a borrow, I don't think you need the try variants that often. |
|
This looks great! I'm going to go ahead and propose to merge. @rfcbot fcp merge |
|
Team member @aturon 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. |
|
🔔 This is now entering its final comment period, as per the review above. 🔔 |
|
🔔 This is now entering its final comment period, as per the review above. 🔔 |
|
The final comment period is now complete. |
|
Ok looks like not much new discussion came up during FCP, so merging! I've opened a tracking issue at rust-lang/rust#43570. Thanks again for the RFC @notriddle! |
Rendered