-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Have clippy warn about uninlined format arguments
This makes clippy warn about `format!("{}", var)`, with a machine-applicable fix converting to `format!("{var}")`. The `allow-mixed-uninlined-format-args = false` option in `.clippy.toml` makes clippy issue this warning and provide this fix for individual format specifiers even if the format string has other specifiers that can't use inlining.
- Loading branch information
1 parent
87d9ae5
commit 620a5ce
Showing
2 changed files
with
2 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters