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

Allow missing code examples in trait impls. #88745

Merged
merged 1 commit into from
Sep 13, 2021

Conversation

hnj2
Copy link
Contributor

@hnj2 hnj2 commented Sep 8, 2021

Excludes Trait implementations from the items that need to have doc code examples when using the rustdoc::missing_doc_code_examples lint.

For details see #88741

fixes #88741

r? @jyn514

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @jyn514 (or someone else) soon.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 8, 2021
@jyn514
Copy link
Member

jyn514 commented Sep 8, 2021

I don't have time to review this.

r? @GuillaumeGomez

@GuillaumeGomez
Copy link
Member

Looks good overall, just a few nits and it's good to go, thanks!

@hnj2 hnj2 force-pushed the allow-trait-impl-missing-code branch from 2fe7a51 to c86c634 Compare September 9, 2021 11:14
@GuillaumeGomez
Copy link
Member

Looks good to me, thanks! Just waiting for CI then I r+ it.

@GuillaumeGomez
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Sep 9, 2021

📌 Commit c86c634 has been approved by GuillaumeGomez

@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-review Status: Awaiting review from the assignee but also interested parties. labels Sep 9, 2021
@jyn514 jyn514 added A-lint Area: Lints (warnings about flaws in source code) such as unused_mut. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Sep 9, 2021
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Sep 9, 2021
… r=GuillaumeGomez

Allow missing code examples in trait impls.

Excludes Trait implementations from the items that need to have doc code examples when using the `rustdoc::missing_doc_code_examples` lint.

For details see rust-lang#88741

fixes rust-lang#88741

r? `@jyn514`
Manishearth added a commit to Manishearth/rust that referenced this pull request Sep 12, 2021
… r=GuillaumeGomez

Allow missing code examples in trait impls.

Excludes Trait implementations from the items that need to have doc code examples when using the `rustdoc::missing_doc_code_examples` lint.

For details see rust-lang#88741

fixes rust-lang#88741

r? ``@jyn514``
workingjubilee added a commit to workingjubilee/rustc that referenced this pull request Sep 12, 2021
… r=GuillaumeGomez

Allow missing code examples in trait impls.

Excludes Trait implementations from the items that need to have doc code examples when using the `rustdoc::missing_doc_code_examples` lint.

For details see rust-lang#88741

fixes rust-lang#88741

r? ```@jyn514```
@bors
Copy link
Contributor

bors commented Sep 13, 2021

⌛ Testing commit c86c634 with merge 1cd17ad...

@bors
Copy link
Contributor

bors commented Sep 13, 2021

☀️ Test successful - checks-actions
Approved by: GuillaumeGomez
Pushing 1cd17ad to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Sep 13, 2021
@bors bors merged commit 1cd17ad into rust-lang:master Sep 13, 2021
@rustbot rustbot added this to the 1.57.0 milestone Sep 13, 2021
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (1cd17ad): comparison url.

Summary: This benchmark run did not return any relevant changes.

If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf.

@rustbot label: -perf-regression

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lint Area: Lints (warnings about flaws in source code) such as unused_mut. merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rustdoc shouldn't lint about missing code examples in trait impls
7 participants