Skip to content

Implement From for Cell, RefCell and UnsafeCell - #35392

Merged
bors merged 1 commit into
rust-lang:masterfrom
malbarbo:cell-from
Aug 15, 2016
Merged

Implement From for Cell, RefCell and UnsafeCell#35392
bors merged 1 commit into
rust-lang:masterfrom
malbarbo:cell-from

Conversation

@malbarbo

@malbarbomalbarbo commented Aug 5, 2016

Copy link
Copy Markdown
Contributor

Considering that From is implemented for Box, Rc and Arc, it seems reasonable to implement it for Cell, RefCell and UnsafeCell.

@rust-highfive

Copy link
Copy Markdown
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@alexcrichton

Copy link
Copy Markdown
Member

Thanks for the PR! Looks good to me, and I'm tagging as T-libs to ensure the rest of @rust-lang/libs sees this as well

@alexcrichtonalexcrichton added the T-libs-api [DEPRECATED; DO NOT USE] label Aug 7, 2016
@brson

Copy link
Copy Markdown
Contributor

Libs team said 'yup'. Thanks @malbarbo !

@bors r+

@bors

bors commented Aug 11, 2016

Copy link
Copy Markdown
Collaborator

📌 Commit 1403df7 has been approved by brson

@brsonbrson added the relnotes Marks issues that should be documented in the release notes of the next release. label Aug 11, 2016
Manishearth added a commit to Manishearth/rust that referenced this pull request Aug 13, 2016
Implement From for Cell, RefCell and UnsafeCell
Considering that `From` is implemented for `Box`, `Rc` and `Arc`, it seems [reasonable](https://internals.rust-lang.org/t/implementing-from-t-for-other-std-types/3744) to implement it for `Cell`, `RefCell` and `UnsafeCell`.
@bors

bors commented Aug 13, 2016

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 1403df7 with merge ea78bd9...

@bors

bors commented Aug 13, 2016

Copy link
Copy Markdown
Collaborator

💔 Test failed - auto-linux-64-debug-opt

@alexcrichton

Copy link
Copy Markdown
Member

@bors: retry

On Sat, Aug 13, 2016 at 8:33 AM, bors notifications@github.com wrote:

💔 Test failed - auto-linux-64-debug-opt
https://buildbot.rust-lang.org/builders/auto-linux-64-debug-opt/builds/3462


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#35392 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAD95Gk-CFg6S0f-gjsBwQpwu5s7tiAbks5qfePXgaJpZM4JeBVp
.

@eddyb

Copy link
Copy Markdown
Contributor

@bors rollup

eddyb added a commit to eddyb/rust that referenced this pull request Aug 14, 2016
Implement From for Cell, RefCell and UnsafeCell
Considering that `From` is implemented for `Box`, `Rc` and `Arc`, it seems [reasonable](https://internals.rust-lang.org/t/implementing-from-t-for-other-std-types/3744) to implement it for `Cell`, `RefCell` and `UnsafeCell`.
@eddybeddyb mentioned this pull request Aug 14, 2016
eddyb added a commit to eddyb/rust that referenced this pull request Aug 14, 2016
Implement From for Cell, RefCell and UnsafeCell
Considering that `From` is implemented for `Box`, `Rc` and `Arc`, it seems [reasonable](https://internals.rust-lang.org/t/implementing-from-t-for-other-std-types/3744) to implement it for `Cell`, `RefCell` and `UnsafeCell`.
@eddybeddyb mentioned this pull request Aug 14, 2016
bors added a commit that referenced this pull request Aug 14, 2016
@bors
bors merged commit 1403df7 into rust-lang:masterAug 15, 2016
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

relnotesMarks issues that should be documented in the release notes of the next release.T-libs-api[DEPRECATED; DO NOT USE]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@malbarbo@rust-highfive@alexcrichton@brson@bors@eddyb