Skip to content

Optionally put the opening paren on the previous line for args (Issue #31) #81

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
May 28, 2015
Merged

Optionally put the opening paren on the previous line for args (Issue #31) #81

merged 3 commits into from
May 28, 2015

Conversation

tdudziak
Copy link
Contributor

Added new config option fn_args_paren_newline to control this (defaults to previous behavior). Only tested locally --- I can add some testcases but I don't think there's support for per-test Config options.

@tdudziak
Copy link
Contributor Author

BTW, Existing code was making an assumption that one indentation level is 4 spaces so I also assumed that but there's a config tab_spaces. Should that be used instead?

@nrc
Copy link
Member

nrc commented May 25, 2015

@tdudziak Yes, please use config!(tab_spaces) instead of 4.

nrc added a commit that referenced this pull request May 28, 2015
Optionally put the opening paren on the previous line for args (Issue #31)
@nrc nrc merged commit 9049413 into rust-lang:master May 28, 2015
@nrc
Copy link
Member

nrc commented May 29, 2015

Thanks for the PR, sorry it took a while to merge, I wanted to play with it locally to make sure it was doing the right thing - which it was :-)

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