Skip to content
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

Implement From for Cell, RefCell and UnsafeCell #35392

Merged
merged 1 commit into from
Aug 15, 2016

Conversation

malbarbo
Copy link
Contributor

@malbarbo malbarbo commented Aug 5, 2016

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
Collaborator

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
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

@alexcrichton alexcrichton added the T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. label Aug 7, 2016
@brson
Copy link
Contributor

brson commented Aug 11, 2016

Libs team said 'yup'. Thanks @malbarbo !

@bors r+

@bors
Copy link
Contributor

bors commented Aug 11, 2016

📌 Commit 1403df7 has been approved by brson

@brson brson 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
Copy link
Contributor

bors commented Aug 13, 2016

⌛ Testing commit 1403df7 with merge ea78bd9...

@bors
Copy link
Contributor

bors commented Aug 13, 2016

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

@alexcrichton
Copy link
Member

@bors: retry

On Sat, Aug 13, 2016 at 8:33 AM, bors [email protected] 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
Member

eddyb commented Aug 14, 2016

@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`.
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`.
bors added a commit that referenced this pull request Aug 14, 2016
@bors bors merged commit 1403df7 into rust-lang:master Aug 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
relnotes Marks issues that should be documented in the release notes of the next release. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants