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

Remove incorrect unsafe impl Send for Token { } #253

Merged
merged 1 commit into from
Mar 15, 2017
Merged

Conversation

SimonSapin
Copy link
Member

@SimonSapin SimonSapin commented Feb 21, 2017

Token contains StrTendril, which is not Send because it contains a shared reference to a Cell<usize> for reference-counting.

Refactor test harness to not need Send.


This change is Reviewable

@SimonSapin
Copy link
Member Author

Let’s batch this with the next breaking change…

@bors-servo
Copy link
Contributor

☔ The latest upstream changes (presumably #255) made this pull request unmergeable. Please resolve the merge conflicts.

Token contains StrTendril, which is not Send because it contains
a shared reference to a `Cell<usize>` for reference-counting.

Refactor test harness to not need Send.
@nox
Copy link
Contributor

nox commented Mar 15, 2017

@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit 2341b39 has been approved by nox

@bors-servo
Copy link
Contributor

⌛ Testing commit 2341b39 with merge f264fac...

bors-servo pushed a commit that referenced this pull request Mar 15, 2017
Remove incorrect `unsafe impl Send for Token { }`

Token contains StrTendril, which is not Send because it contains a shared reference to a `Cell<usize>` for reference-counting.

Refactor test harness to not need Send.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/html5ever/253)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

☀️ Test successful - status-travis
Approved by: nox
Pushing f264fac to master...

@bors-servo bors-servo merged commit 2341b39 into master Mar 15, 2017
@nox nox deleted the not-send branch March 15, 2017 15:26
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