Skip to content

Fix incorrect whitespace modifications to non-rust code blocks #6615

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matthewhughes934
Copy link

  • Fix whitespace was being prepended to leading blank line
  • Fix trailing blank line was being stripped

Fixes: #6609
Fixes: #6015

* Fix whitespace was being prepended to leading blank line
* Fix trailing blank line was being stripped

Fixes: rust-lang#6609
Fixes: rust-lang#6015
@joshtriplett
Copy link
Member

This looks good to me; thanks for working on it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

format_code_in_doc_comments should not touch non-rust code blocks format_code_in_doc_comments adds trailing whitespace on the leading empty line
3 participants