mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-24 10:00:59 -05:00
Have clippy warn about uninlined format arguments
This makes clippy warn about `format!("{}", var)`, with a machine-applicable fix converting to `format!("{var}")`.
This commit is contained in:
parent
87d9ae55c7
commit
553258af51
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ string_lit_as_bytes = "warn"
|
||||||
string_to_string = "warn"
|
string_to_string = "warn"
|
||||||
todo = "warn"
|
todo = "warn"
|
||||||
trait_duplication_in_bounds = "warn"
|
trait_duplication_in_bounds = "warn"
|
||||||
|
uninlined_format_args = "warn"
|
||||||
verbose_file_reads = "warn"
|
verbose_file_reads = "warn"
|
||||||
wildcard_imports = "warn"
|
wildcard_imports = "warn"
|
||||||
zero_sized_map_values = "warn"
|
zero_sized_map_values = "warn"
|
||||||
|
|
Loading…
Reference in a new issue