ZIm/crates/channel/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
..
channel_store chore: Fix warnings for Rust 1.89 (#32378) 2025-06-09 13:11:57 +02:00
channel.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
channel_buffer.rs Fix clippy::for_kv_map lint violations (#36493) 2025-08-20 11:22:19 +02:00
channel_chat.rs Fix a bunch of other low-hanging style lints (#36498) 2025-08-19 21:26:17 +02:00
channel_store.rs Fix clippy::for_kv_map lint violations (#36493) 2025-08-20 11:22:19 +02:00
channel_store_tests.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00