Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.

Commit 9e62400

Browse files
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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
clippy::semicolon_if_nothing_returned,
1515
clippy::struct_excessive_bools,
1616
clippy::too_many_lines,
17+
clippy::uninlined_format_args,
1718
clippy::unreadable_literal,
1819
clippy::unused_io_amount,
1920
clippy::used_underscore_binding

0 commit comments

Comments
 (0)