-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
inline format arguments #3217
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
inline format arguments #3217
Conversation
can you provide benchmarking to demonstrate the difference please? thanks! |
closing as won't fix (but let's reopen if benchmarks can demonstrate a difference) |
@Enselic my appologies, take a look at rust-lang/rust-clippy#10851 |
P.S. See also rust bug itself rust-lang/rust#112156 |
thanks! let's get this merged then there is a lint for this and it would be nice to activate it in bat CI to avoid regressions, but that doesn't block merging this |
can you resolve conflicts and rebase please? |
In a few cases, removed the unneeded `&` - this causes a minor slowdown because compiler cannot eliminate those (yet).
thx, rebased |
P.S. Sadly, there is no lint yet - that's why i created rust-lang/rust-clippy#10851 |
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.
Thank you
In a few cases, removed the unneeded
&
- this causes a minor slowdown because compiler cannot eliminate those (yet).