Skip to content

fix missing_doc lint on private traits #10165

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

Closed
wants to merge 1 commit into from

Conversation

dcrewi
Copy link
Contributor

@dcrewi dcrewi commented Oct 30, 2013

Fixes #10069.

~"missing documentation for a trait");
ast::item_trait(*) => {
self.vis_of_last_trait = it.vis;
if (it.vis == ast::public) {
Copy link
Member

Choose a reason for hiding this comment

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

This code would be greatly simplified if it just returned instead of recursing.

@dcrewi
Copy link
Contributor Author

dcrewi commented Oct 31, 2013

Revision pushed.

@bors bors closed this Nov 2, 2013
@dcrewi dcrewi deleted the missing-doc-on-private-trait branch November 4, 2013 01:36
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.

Methods of private traits require documentation according to the missing_doc lint
4 participants