Skip to content

Commit

Permalink
Have clippy warn about uninlined format arguments
Browse files Browse the repository at this point in the history
This makes clippy warn about `format!("{}", var)`, with a
machine-applicable fix converting to `format!("{var}")`.
  • Loading branch information
joshtriplett committed Jul 26, 2024
1 parent 87d9ae5 commit 553258a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ string_lit_as_bytes = "warn"
string_to_string = "warn"
todo = "warn"
trait_duplication_in_bounds = "warn"
uninlined_format_args = "warn"
verbose_file_reads = "warn"
wildcard_imports = "warn"
zero_sized_map_values = "warn"
Expand Down

0 comments on commit 553258a

Please sign in to comment.