-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
write!() -> writeln!() invalid when just printing a newline #6612
Comments
Oh, it seems to work even if there is nothing after comma in |
Yes, at first I thought the bug was no empty string, then when I put an empty string in clippy said (correctly) "Hey, you can remove that empty string!". |
Fixed in #7183 - however by manually constructing a |
@flip1995 Can be closed. |
This is visible on both stable and nightly. When advising changing write! to writeln!, the clippy outputs no string but still prints the comma. There has to either be no comma after out_file.
The text was updated successfully, but these errors were encountered: