-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Re-factor format lint #4439
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
Re-factor format lint #4439
Conversation
Retriggering the build |
b390aef
to
7e7100f
Compare
@lzutao looks like only some dogfood tests need to be fixed: https://travis-ci.com/rust-lang/rust-clippy/jobs/227661145#L1079
r=me with tests passing |
CI is green. |
@bors r+ thanks! |
📌 Commit ab335ea has been approved by |
Re-factor format lint cc #4432 changelog: none
--> $DIR/format.rs:69:18 | ||
| | ||
LL | let _ = Some(format!("{}", a + "bar")); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `a + "bar"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems this should be not linted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it should. I forgot to removing the misleading comments.
☀️ Test successful - checks-travis, status-appveyor |
cc #4432
changelog: none