Skip to content

Tracking issue for RefCell::{replace, swap} #43570

Closed
@alexcrichton

Description

@alexcrichton
Member

Tracking issue for rust-lang/rfcs#2057

  • Implement the functionality
    Add documentation
    Stabilize!

Activity

added
B-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.
T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.
on Jul 31, 2017
notriddle

notriddle commented on Jul 31, 2017

@notriddle
Contributor

Can I implement this? (I understand you'll want to give it the C-assigned label, to make sure nobody else works on it)

alexcrichton

alexcrichton commented on Jul 31, 2017

@alexcrichton
MemberAuthor

Certainly!

added
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC
on Aug 1, 2017
added a commit that references this issue on Aug 14, 2017

Auto merge of #43574 - notriddle:master, r=sfackler

notriddle

notriddle commented on Aug 15, 2017

@notriddle
Contributor
  • Implemented the functionality
    What documentation is needed beyond the API docs?
    I assume that once 1.20 is released, we'll be able to talk about marking it stable.
Havvy

Havvy commented on Nov 7, 2017

@Havvy
Contributor

The only docs needed for this is the API docs.

I've also written PR #45819 to add a replace_with variant.

gbip

gbip commented on Dec 5, 2017

@gbip

Is there any plan to make this stable ? I can't figure the syntax to move a value inside a RefCell to replace the old one.
Thanks !

added a commit that references this issue on Dec 20, 2017

Rollup merge of rust-lang#46517 - notriddle:patch-2, r=BurntSushi

alexcrichton

alexcrichton commented on Mar 1, 2018

@alexcrichton
MemberAuthor

Stabilized in #46517

28 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.B-RFC-implementedBlocker: Approved by a merged RFC and implemented but not stabilized.B-unstableBlocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-help-wantedCall for participation: Help is requested to fix this issue.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @alexcrichton@SimonSapin@Havvy@Centril@notriddle

        Issue actions

          Tracking issue for RefCell::{replace, swap} · Issue #43570 · rust-lang/rust