Enable clippy::to_string_in_format_args (#8732)

This PR enables the
[`clippy::to_string_in_format_args`](https://rust-lang.github.io/rust-clippy/master/index.html#/to_string_in_format_args)
rule and fixes the outstanding violations.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers
2024-03-02 18:13:49 -05:00
committed by GitHub
parent 52052f342b
commit 8bc35c33c5
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -841,7 +841,7 @@ mod tests {
surrounding_word(&snapshot, display_points[1]),
display_points[0]..display_points[2],
"{}",
marked_text.to_string()
marked_text
);
}