Skip to content

Do not indent or unindent inside string literal #2589

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 3 commits into from
Apr 5, 2018

Conversation

topecongiro
Copy link
Contributor

We manually indent/unindent code block when formatting macros or doc comments, but these modifications should not applied to string literals (except when the line of string literal ends with \).

Closes #2588.

@nrc
Copy link
Member

nrc commented Apr 5, 2018

Thanks! r+, but needs a rebase

@topecongiro
Copy link
Contributor Author

Thank you for your review! Rebased against the current master.

@nrc nrc merged commit 0156fe0 into rust-lang:master Apr 5, 2018
@topecongiro topecongiro deleted the issue-2588 branch April 5, 2018 06:39
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