ZIm/crates/worktree/src
tidely 7bdc99abc1
Fix clippy::redundant_clone lint violations (#36558)
This removes around 900 unnecessary clones, ranging from cloning a few
ints all the way to large data structures and images.

A lot of these were fixed using `cargo clippy --fix --workspace
--all-targets`, however it often breaks other lints and needs to be run
again. This was then followed up with some manual fixing.

I understand this is a large diff, but all the changes are pretty
trivial. Rust is doing some heavy lifting here for us. Once I get it up
to speed with main, I'd appreciate this getting merged rather sooner
than later.

Release Notes:

- N/A
2025-08-20 12:20:13 +02:00
..
ignore.rs Fix Linux search issues (#13479) 2024-06-24 13:46:21 -07:00
worktree.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
worktree_settings.rs Fix a bunch of other low-hanging style lints (#36498) 2025-08-19 21:26:17 +02:00
worktree_tests.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00