At crates/diffguard-lsp/src/server.rs:494, a variable is used in a format! string using positional syntax instead of inline format args syntax.
Clippy warning:
warning: variables can be used directly in the `format!` string
--> crates/diffguard-lsp/src/server.rs:494:30
|
494 | format!("\"{}\"", escaped)
| ^^^^^^^^^^^^^^^^^^^
help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#uninlined_format_args
Fix: change format!("\"{}\"", escaped) to format!("\"{escaped}\"").
At
crates/diffguard-lsp/src/server.rs:494, a variable is used in aformat!string using positional syntax instead of inline format args syntax.Clippy warning:
Fix: change
format!("\"{}\"", escaped)toformat!("\"{escaped}\"").