ZIm/crates/assistant_slash_commands/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
..
assistant_slash_commands.rs Remove /docs slash command (#36325) 2025-08-16 19:00:31 +00:00
cargo_workspace_command.rs lints: A bunch of extra style lint fixes (#36568) 2025-08-20 12:05:58 +02:00
context_server_command.rs lints: A bunch of extra style lint fixes (#36568) 2025-08-20 12:05:58 +02:00
default_command.rs lints: A bunch of extra style lint fixes (#36568) 2025-08-20 12:05:58 +02:00
delta_command.rs lints: A bunch of extra style lint fixes (#36568) 2025-08-20 12:05:58 +02:00
diagnostics_command.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
fetch_command.rs lints: A bunch of extra style lint fixes (#36568) 2025-08-20 12:05:58 +02:00
file_command.rs lints: A bunch of extra style lint fixes (#36568) 2025-08-20 12:05:58 +02:00
now_command.rs lints: A bunch of extra style lint fixes (#36568) 2025-08-20 12:05:58 +02:00
prompt_command.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
selection_command.rs agent: Support adding selection as context (#28964) 2025-04-17 16:55:15 +02:00
streaming_example_command.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
symbols_command.rs lints: A bunch of extra style lint fixes (#36568) 2025-08-20 12:05:58 +02:00
tab_command.rs lints: A bunch of extra style lint fixes (#36568) 2025-08-20 12:05:58 +02:00