Skip to content

Add max_width option for all heuristics. #2847

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 1 commit into from
Jul 17, 2018
Merged

Conversation

mbebenita
Copy link
Contributor

@mbebenita mbebenita commented Jul 17, 2018

This is useful when working with very small max_widths like 79 chars. I agree with this comment but rustfmt's heuristics generate a lot of vertical space in https://github.com/xiph/rav1e project, which uses a max_width of 79 chars.

This is useful when working with very small max_widths like 79 chars.
@nrc nrc merged commit 1b0efd9 into rust-lang:master Jul 17, 2018
@nrc
Copy link
Member

nrc commented Jul 17, 2018

Thanks!

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