Skip to content

Commit 1354e4b

Browse files
committed
fix: use clippy::string_to_string instead of clippy:implicit_clone
``` warning: lint `clippy::string_to_string` has been removed: `clippy:implicit_clone` covers those cases | = note: requested on the command line with `-W clippy::string_to_string` = note: `#[warn(renamed_and_removed_lints)]` on by default ```
1 parent ef4dffb commit 1354e4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ default_trait_access = "warn"
8989
explicit_deref_methods = "warn"
9090
if_not_else = "warn"
9191
ignored_unit_patterns = "warn"
92+
implicit_clone = "warn"
9293
inconsistent_struct_constructor = "warn"
9394
manual_assert = "warn"
9495
manual_let_else = "warn"
@@ -99,7 +100,6 @@ ref_as_ptr = "warn"
99100
ref_option = "warn"
100101
semicolon_if_nothing_returned = "warn"
101102
separated_literal_suffix = "warn"
102-
string_to_string = "warn"
103103
transmute_ptr_to_ptr = "warn"
104104
uninlined_format_args = "warn"
105105
unreadable_literal = "warn"

0 commit comments

Comments
 (0)