Skip to content

Fix up formatting bugs in impl and trait #2332

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
Jan 4, 2018

Conversation

topecongiro
Copy link
Contributor

Closes #2320.
Closes #2331.

@nrc
Copy link
Member

nrc commented Jan 4, 2018

Thanks! Looks good (r+) but needs a rebase

We put the opening brace on the next line if the following conditions hold:

1. the result before '{' ends with comments or contains newline
2. the last line of the result before '{' is not extendable (i.e. consists of
   '>' and whitespaces).
@topecongiro
Copy link
Contributor Author

Rebased against master.

@nrc nrc merged commit e343aa2 into rust-lang:master Jan 4, 2018
@topecongiro topecongiro deleted the impl-and-trait branch January 4, 2018 04:51
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