Skip to content

writeln!(w) breaks formatting #177

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
May 4, 2017
Merged

Conversation

dten
Copy link

@dten dten commented Apr 10, 2017

the special case for writeln! expects there to always be a format string, this isn't actually required any more which breaks formatting until the next comma, also all highlighting on the writer itself was broken

fixes the two below lines

    writeln!(w)?;
    writeln!(get_writer(), " }}" ,/**/ "yes")?;

the special case for `writeln!` expects there to always be a format string, this isn't actually required any more which breaks formatting until the next ,
writeln might not have format string


with tests
@dten
Copy link
Author

dten commented Apr 24, 2017

i added some tests to this

@jasonwilliams jasonwilliams merged commit 75b02cf into rust-lang:master May 4, 2017
@dten dten deleted the patch-1 branch June 3, 2017 21:30
urschrei pushed a commit to urschrei/sublime-rust that referenced this pull request Jan 30, 2018
the special case for `writeln!` expects there to always be a format string, this isn't actually required any more which breaks formatting until the next ,
writeln might not have format string


with tests
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