This repository was archived by the owner on May 20, 2024. It is now read-only.
Commit 9e62400
committed
Ignore uninlined_format_args pedantic clippy lint
error: variables can be used directly in the `format!` string
--> src/color.rs:111:36
|
111 | Err(_) => Err(d.error(&format!("failed to parse color: {}", string))),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `-D clippy::uninlined-format-args` implied by `-D clippy::pedantic`
help: change this to
|
111 - Err(_) => Err(d.error(&format!("failed to parse color: {}", string))),
111 + Err(_) => Err(d.error(&format!("failed to parse color: {string}"))),
|
error: variables can be used directly in the `format!` string
--> src/prim_str.rs:93:36
|
93 | Err(_) => Err(d.error(&format!("failed to parse id: {}", string))),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
93 - Err(_) => Err(d.error(&format!("failed to parse id: {}", string))),
93 + Err(_) => Err(d.error(&format!("failed to parse id: {string}"))),
|1 parent a895e31 commit 9e62400
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
0 commit comments