ZIm/crates/collab/src
tidely cae072e0a0
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-23 10:39:25 -04:00
..
api Fix clippy::redundant_clone lint violations (#36558) 2025-08-23 10:39:25 -04:00
bin windows: Make collab run on Windows (#23117) 2025-01-17 09:39:13 +02:00
db Fix clippy::redundant_clone lint violations (#36558) 2025-08-23 10:39:25 -04:00
llm collab: Remove unused billing-related database code (#36282) 2025-08-23 10:39:17 -04:00
rpc collab: Increase minimum required version to connect (#36255) 2025-08-23 10:39:16 -04:00
tests Fix clippy::redundant_clone lint violations (#36558) 2025-08-23 10:39:25 -04:00
api.rs collab: Remove GET /users/look_up endpoint (#36279) 2025-08-23 10:39:17 -04:00
auth.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-23 10:39:25 -04:00
completion.rs Supermaven (#10788) 2024-05-03 12:50:42 -07:00
db.rs lints: A bunch of extra style lint fixes (#36568) 2025-08-23 10:39:25 -04:00
env.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
errors.rs Remove more unused code related to GitHub auth and errors 2022-04-21 08:57:49 -06:00
executor.rs chore: Prepare for Rust edition bump to 2024 (without autofix) (#27791) 2025-03-31 20:10:36 +02:00
lib.rs collab: Remove unused billing-related database code (#36282) 2025-08-23 10:39:17 -04:00
llm.rs proto: Remove UpdateUserPlan message (#36268) 2025-08-23 10:39:16 -04:00
main.rs collab: Remove unused billing-related database code (#36282) 2025-08-23 10:39:17 -04:00
migrations.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
rpc.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-23 10:39:25 -04:00
seed.rs Update names of collab auth functions to clarify behavior (#32648) 2025-06-13 00:35:18 +00:00
tests.rs collab: Remove Stripe code (#36275) 2025-08-23 10:39:16 -04:00
user_backfiller.rs Auto-fix clippy::collapsible_if violations (#36428) 2025-08-23 10:39:22 -04:00