Skip to content

Commit 553258a

Browse files
committed
Have clippy warn about uninlined format arguments
This makes clippy warn about `format!("{}", var)`, with a machine-applicable fix converting to `format!("{var}")`.
1 parent 87d9ae5 commit 553258a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ string_lit_as_bytes = "warn"
8080
string_to_string = "warn"
8181
todo = "warn"
8282
trait_duplication_in_bounds = "warn"
83+
uninlined_format_args = "warn"
8384
verbose_file_reads = "warn"
8485
wildcard_imports = "warn"
8586
zero_sized_map_values = "warn"

0 commit comments

Comments
 (0)