ZIm/crates/zlog/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
..
env_config.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
filter.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
sink.rs Auto-fix clippy::collapsible_if violations (#36428) 2025-08-19 13:27:24 +00:00
zlog.rs Another batch of lint fixes (#36521) 2025-08-19 20:33:44 +00:00