-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Redundant to_string
?
#7729
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
Comments
Related to #7667, and probably should be implemented together. I'd call this |
Add `format_in_format_args` and `to_string_in_format_args` lints Fixes #7667 and #7729 I put these in `perf` since that was one of `@jplatte's` suggestions, and `redundant_clone` (which I consider to be similar) lives there as well. However, I am open to changing the category or anything else. r? `@camsteffen` changelog: Add `format_in_format_args` and `to_string_in_format_args` lints
Is it true that ? Doesnt it depend on how the formatter is written. But clippy seems to still flag this. |
@akanalytics Feel free to file a bug if you found a false positive. |
I was surprised that there does not seem to be a lint to catch the following. Is it possible that it exists and I am somehow not triggering it?
The text was updated successfully, but these errors were encountered: