Skip to content

Reword E0492 #30111

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 1 commit into from
Nov 30, 2015
Merged

Reword E0492 #30111

merged 1 commit into from
Nov 30, 2015

Conversation

GuillaumeGomez
Copy link
Member

These aren't thread safe, and thus can't be placed in statics. In this case,
`StaticMutex` would work just fine, but it isn't stable yet:
This is because cell types do operations that are not thread-safe, and
hence do not implement `Sync`. Thus can't be placed in statics. In this
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Thus can't be placed in statics" isn't a sentence.

This is because cell types do operations that are not thread-safe. Due to this they don't implement Sync and thus can't be placed in statics.

@Manishearth
Copy link
Member

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Nov 30, 2015

📌 Commit 1099af7 has been approved by Manishearth

@bors
Copy link
Collaborator

bors commented Nov 30, 2015

⌛ Testing commit 1099af7 with merge fd2626c...

@bors bors merged commit 1099af7 into rust-lang:master Nov 30, 2015
@GuillaumeGomez GuillaumeGomez deleted the patch-3 branch November 30, 2015 13:16
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.

3 participants