Skip to content

Remove comment about UnsafeCells and static #21663

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

Merged
merged 2 commits into from
Jan 29, 2015

Conversation

tbu-
Copy link
Contributor

@tbu- tbu- commented Jan 26, 2015

It has actually been safe to put an UnsafeCell into a non-mutable static
since the const change.

steveklabnik and others added 2 commits January 23, 2015 15:31
It has actually been safe to put an `UnsafeCell` into a non-mutable `static`
since the `const` change.
@rust-highfive
Copy link
Contributor

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@tbu-
Copy link
Contributor Author

tbu- commented Jan 26, 2015

This is based on @steveklabnik unmerged pull request, because this would definitely conflict otherwise.

@alexcrichton
Copy link
Member

@bors: r+ cbcb191 rollup

I think because they're the same commit that the merge should do the right thing (or so I hope!)

barosl added a commit to barosl/rust that referenced this pull request Jan 27, 2015
…lexcrichton

It has actually been safe to put an `UnsafeCell` into a non-mutable `static`
since the `const` change.
@bors bors merged commit cbcb191 into rust-lang:master Jan 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants