Skip to content

Multi-line str literals not formatting correctly. #1661

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

Closed
ghost opened this issue Jun 12, 2017 · 3 comments
Closed

Multi-line str literals not formatting correctly. #1661

ghost opened this issue Jun 12, 2017 · 3 comments

Comments

@ghost
Copy link

ghost commented Jun 12, 2017

See https://github.com/cedenday/rshare/blob/acf3c3df98b05a5396012a749c85e42c6bc00833/src/main.rs#L268-L274.

@nrc
Copy link
Member

nrc commented Jun 12, 2017

Have you set the format_strings or force_format_strings options?

@ghost
Copy link
Author

ghost commented Jun 12, 2017

@nrc
Copy link
Member

nrc commented Jun 12, 2017

We will move strings even if those options are not selected (and I don't recommend using them). I think here we should also change the indent so the start of the string lines are aligned, but I'm not actually sure if we even try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant