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 empty lines in lint doc examples #2428

Merged
merged 1 commit into from
Feb 5, 2018

Conversation

phansch
Copy link
Member

@phansch phansch commented Feb 1, 2018

This makes sure that empty lines in lint examples are preserved. (mentioned in #2340 (comment))

It also fixes the documentation for the invalid_ref lint, which was not
shown because of an extra newline between the doc comment and lint declaration.

This makes sure that empty lines in lint examples are preserved.

It also fixes the documentation for the invalid_ref lint, which was not
shown because of an extra newline before the lint declaration.
@phansch
Copy link
Member Author

phansch commented Feb 1, 2018

It's been a while since I've written python but I compared my locally built lint list with the online one, and nothing else seems to break from the change.

@oli-obk oli-obk merged commit 02ee625 into rust-lang:master Feb 5, 2018
@oli-obk
Copy link
Contributor

oli-obk commented Feb 5, 2018

Thanks!

@phansch phansch deleted the fix_lint_list_issues branch February 5, 2018 12:22
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.

2 participants