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

Add dyn clause when using trait object #269

Merged
merged 1 commit into from Jun 3, 2019

Conversation

@ceyusa
Copy link
Contributor

ceyusa commented Jun 3, 2019

Current nightly compiler shows as warning when a trait object is wrapped by Box, Arc or Mutex, which is recommended in the documentation.

This patch add the clause to all reported cases.

Current nightly compiler shows as warning when a trait object is
wrapped by Box, Arc or Mutex, which is recommended in the
documentation. This patch add the clause to all reported cases.
@jdm
Copy link
Member

jdm commented Jun 3, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Jun 3, 2019

📌 Commit 39019bb has been approved by jdm

bors-servo added a commit that referenced this pull request Jun 3, 2019
Add dyn clause when using trait object

Current nightly compiler shows as warning when a trait object is wrapped by Box, Arc or Mutex, which is recommended in the documentation.

This patch add the clause to all reported cases.
@bors-servo
Copy link
Contributor

bors-servo commented Jun 3, 2019

Testing commit 39019bb with merge 02caafd...

@bors-servo
Copy link
Contributor

bors-servo commented Jun 3, 2019

☀️ Test successful - checks-travis
Approved by: jdm
Pushing 02caafd to master...

@bors-servo bors-servo merged commit 39019bb into servo:master Jun 3, 2019
2 checks passed
2 checks passed
Travis CI - Pull Request Build Passed
Details
homu Test successful
Details
@ceyusa ceyusa deleted the ceyusa:dyn-trait-objects branch Jun 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.