Skip to content

Tweak common tool docs on type-implement-trait check #7583

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 2 commits into from
Aug 26, 2021

Conversation

dswij
Copy link
Member

@dswij dswij commented Aug 18, 2021

See #7562 (comment).

changelog: none

@rust-highfive
Copy link

r? @giraffate

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Aug 18, 2021
@dswij
Copy link
Member Author

dswij commented Aug 18, 2021

r? @xFrednet

@rust-highfive rust-highfive assigned xFrednet and unassigned giraffate Aug 18, 2021
@dswij dswij force-pushed the match-trait-docs branch from c961665 to 1414eaf Compare August 18, 2021 05:17
Copy link
Member

@xFrednet xFrednet left a comment

Choose a reason for hiding this comment

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

Thank you for the documentation update 👍

@dswij dswij force-pushed the match-trait-docs branch from 1414eaf to 1acdb49 Compare August 22, 2021 16:31
@dswij dswij requested a review from xFrednet August 22, 2021 16:32
Copy link
Member

@xFrednet xFrednet left a comment

Choose a reason for hiding this comment

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

Thank you so much for the update. This time I read the whole section and found some NITs where it would be great if you could look at them too 🙃

Common tool documentation uses `match_trait_method` which is deprecated.
Additionally, adds information on why `is_trait_method` is not the
preferred way.
@dswij dswij force-pushed the match-trait-docs branch from 1acdb49 to 86e92c0 Compare August 26, 2021 09:29
@dswij dswij requested a review from xFrednet August 26, 2021 09:32
Copy link
Member

@xFrednet xFrednet left a comment

Choose a reason for hiding this comment

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

This looks good to me, just one tiny NIT that you can commit here if you agree with it. Then I'm happy to merge it. This was a really nice catch, thank you! 👍

Add missing import `paths` for the doc example.

Co-authored-by: Fridtjof Stoldt <[email protected]>
@xFrednet
Copy link
Member

Awesome, thank you!

@bors r+

@bors
Copy link
Contributor

bors commented Aug 26, 2021

📌 Commit f0cb8a7 has been approved by xFrednet

@bors
Copy link
Contributor

bors commented Aug 26, 2021

⌛ Testing commit f0cb8a7 with merge 387dbd7...

@bors
Copy link
Contributor

bors commented Aug 26, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: xFrednet
Pushing 387dbd7 to master...

@bors bors merged commit 387dbd7 into rust-lang:master Aug 26, 2021
@dswij dswij deleted the match-trait-docs branch August 26, 2021 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants