Skip to content

Use block indent for args of macro if single line args exceeds max width #1654

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 2 commits into from
Jun 12, 2017

Conversation

topecongiro
Copy link
Contributor

Previously when arguments of macro contained no newlines rustfmt put it in a single line without respecting max width. This PR fixed this.

Closes #1651.

@topecongiro topecongiro changed the title Use block indent for args if single line args exceeds max width Use block indent for args of macro if single line args exceeds max width Jun 12, 2017
@nrc nrc merged commit 6ed3077 into rust-lang:master Jun 12, 2017
@nrc
Copy link
Member

nrc commented Jun 12, 2017

Thanks!

@topecongiro topecongiro deleted the over-long-lines branch May 23, 2018 15:24
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.

Overlong lines
2 participants