Skip to content

Add a remark about the implicit implementation of Send and make a test for it #28314

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
Sep 17, 2015

Conversation

tbu-
Copy link
Contributor

@tbu- tbu- commented Sep 9, 2015

No description provided.

@rust-highfive
Copy link
Contributor

r? @brson

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

@@ -92,6 +92,7 @@ impl Default for AtomicBool {
}
}

// Send is implicitely implemented for AtomicBool.
Copy link
Contributor

Choose a reason for hiding this comment

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

s/implicitely/implicitly/

(and below)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks! Fixed.

@tbu- tbu- force-pushed the pr_atomics_are_send branch from 0812209 to 51354e9 Compare September 9, 2015 14:14
@brson
Copy link
Contributor

brson commented Sep 15, 2015

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Sep 15, 2015

📌 Commit 51354e9 has been approved by brson

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Sep 15, 2015
@bors
Copy link
Collaborator

bors commented Sep 15, 2015

⌛ Testing commit 51354e9 with merge c437c15...

@bors
Copy link
Collaborator

bors commented Sep 15, 2015

💔 Test failed - auto-mac-64-opt

@tbu- tbu- force-pushed the pr_atomics_are_send branch from 51354e9 to 9407cd5 Compare September 15, 2015 22:37
@tbu-
Copy link
Contributor Author

tbu- commented Sep 15, 2015

This was a legit failure, I fixed it.

@wthrowe
Copy link
Contributor

wthrowe commented Sep 16, 2015

This test already exists: src/test/run-pass/sync-send-atomics.rs

@tbu- tbu- force-pushed the pr_atomics_are_send branch from 9407cd5 to 1b3745f Compare September 16, 2015 09:26
@tbu-
Copy link
Contributor Author

tbu- commented Sep 16, 2015

@wthrowe Ok, removed the test.

@alexcrichton
Copy link
Member

@bors: r=brson 1b3745f rollup

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Sep 17, 2015
bors added a commit that referenced this pull request Sep 17, 2015
@bors bors merged commit 1b3745f into rust-lang:master Sep 17, 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.

7 participants