clippy: fix implicit_clone lint

https://rust-lang.github.io/rust-clippy/master/index.html#implicit_clone

Closes #12245
This commit is contained in:
xtqqczze
2025-12-31 17:13:01 +00:00
committed by Johannes Altmanninger
parent 41b9584bb3
commit 2d6db3f980
11 changed files with 21 additions and 24 deletions

View File

@@ -184,6 +184,7 @@ rust.unstable_name_collisions = "allow"
rustdoc.private_intra_doc_links = "allow"
[workspace.lints.clippy]
implicit_clone = "warn"
cloned_instead_of_copied = "warn"
len_without_is_empty = "allow" # we're not a library crate
let_and_return = "allow"