ZIm/crates/agent_ui/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
..
acp Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
agent_configuration Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
context_picker Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
ui Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
acp.rs Re-add history entries for native agent threads (#36500) 2025-08-19 12:08:11 -06:00
active_thread.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
agent_configuration.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
agent_diff.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
agent_model_selector.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
agent_panel.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
agent_ui.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
buffer_codegen.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
context_picker.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
context_server_configuration.rs Extract an agent_ui crate from agent (#33284) 2025-06-23 18:00:28 -07:00
context_strip.rs Auto-fix clippy::collapsible_if violations (#36428) 2025-08-19 13:27:24 +00:00
debug.rs Replace zed_llm_client with cloud_llm_client (#35309) 2025-07-30 00:09:14 +00:00
inline_assistant.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
inline_prompt_editor.rs Fix a bunch of other low-hanging style lints (#36498) 2025-08-19 21:26:17 +02:00
language_model_selector.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
message_editor.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
profile_selector.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
slash_command.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
slash_command_picker.rs Another batch of lint fixes (#36521) 2025-08-19 20:33:44 +00:00
slash_command_settings.rs Remove /docs slash command (#36325) 2025-08-16 19:00:31 +00:00
terminal_codegen.rs Fix clippy::needless_borrow lint violations (#36444) 2025-08-18 21:54:35 +00:00
terminal_inline_assistant.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
text_thread_editor.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
thread_history.rs Auto-fix clippy::collapsible_if violations (#36428) 2025-08-19 13:27:24 +00:00
tool_compatibility.rs Another batch of lint fixes (#36521) 2025-08-19 20:33:44 +00:00
ui.rs agent2: Add new "new thread" selector in the toolbar (#36133) 2025-08-13 14:45:37 -03:00