We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
:?
1 parent c943f4c commit 6b6f35eCopy full SHA for 6b6f35e
clippy_lints/src/format_args.rs
@@ -128,6 +128,7 @@ declare_clippy_lint! {
128
/// # let width = 1;
129
/// # let prec = 2;
130
/// format!("{}", var);
131
+ /// format!("{:?}", var);
132
/// format!("{v:?}", v = var);
133
/// format!("{0} {0}", var);
134
/// format!("{0:1$}", var, width);
@@ -140,6 +141,7 @@ declare_clippy_lint! {
140
141
142
/// format!("{var}");
143
/// format!("{var:?}");
144
+ /// format!("{var:?}");
145
/// format!("{var} {var}");
146
/// format!("{var:width$}");
147
/// format!("{var:.prec$}");
0 commit comments