Skip to content

Added dyn and true keyword docs #67695

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Feb 12, 2020
Merged

Added dyn and true keyword docs #67695

merged 1 commit into from
Feb 12, 2020

Conversation

gilescope
Copy link
Contributor

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 29, 2019
@Centril Centril added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 29, 2019
@gilescope
Copy link
Contributor Author

@Centril is v2 any better? I tried to frame it around dyn Trait versus impl Trait.

@JohnCSimon
Copy link
Member

Ping from triage:
@gilescope please address the change requests. Thanks.

@JohnTitor
Copy link
Member

Ping from triage: @gilescope could you address the change requests?

@rust-highfive

This comment has been minimized.

@gilescope
Copy link
Contributor Author

(Sorry for the delay! NixOs and I have been getting to know one another. )
@Centril can you have a look at the impl TraitA for dyn TraitB bit I've added. I want to ensure we get this bit right as it's not documented anywhere else - have I overstepped the mark in saying that object safety does not apply on TraitA? I believe you can have generic methods on TraitA.

@rust-highfive

This comment has been minimized.

Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Co-Authored-By: Tim Robinson <tim.g.robinson@gmail.com>
Co-Authored-By: Peter Todd <pete@petertodd.org>
Co-Authored-By: Dylan DPC <dylan.dpc@gmail.com>
@gilescope
Copy link
Contributor Author

@Centril have squashed commits. Are we good to go?

@Dylan-DPC-zz
Copy link

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Feb 11, 2020

📌 Commit 8e26ad0 has been approved by Dylan-DPC

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Feb 11, 2020
@Dylan-DPC-zz
Copy link

@bors r=centril

(Sorry xD)

@bors
Copy link
Collaborator

bors commented Feb 11, 2020

💡 This pull request was already approved, no need to approve it again.

@bors
Copy link
Collaborator

bors commented Feb 11, 2020

📌 Commit 8e26ad0 has been approved by centril

Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Feb 12, 2020
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Feb 12, 2020
bors added a commit that referenced this pull request Feb 12, 2020
Rollup of 11 pull requests

Successful merges:

 - #67695 (Added dyn and true keyword docs)
 - #68487 ([experiment] Support linking from a .rlink file)
 - #68554 (Split lang_items to crates `rustc_hir` and `rustc_passes`.)
 - #68937 (Test failure of unchecked arithmetic intrinsics in const eval)
 - #68947 (Python script PEP8 style guide space formatting and minor Python source cleanup)
 - #68999 (remove dependency on itertools)
 - #69026 (Remove common usage pattern from `AllocRef`)
 - #69027 (Add missing `_zeroed` varants to `AllocRef`)
 - #69058 (Preparation for allocator aware `Box`)
 - #69070 (Add self to .mailmap)
 - #69077 (Fix outdated doc comment.)

Failed merges:

r? @ghost
@bors bors merged commit 8e26ad0 into rust-lang:master Feb 12, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants