ZIm/crates/semantic_index/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
..
embedding collab: Remove code for embeddings (#29310) 2025-04-23 18:27:46 -04:00
chunking.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
embedding.rs collab: Remove code for embeddings (#29310) 2025-04-23 18:27:46 -04:00
embedding_index.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
indexing.rs /auto (#16696) 2024-09-13 13:17:49 -04:00
project_index.rs Auto-fix clippy::collapsible_if violations (#36428) 2025-08-19 13:27:24 +00:00
project_index_debug_view.rs Simplify ListState API (#35685) 2025-08-06 00:02:26 +00:00
semantic_index.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
summary_backlog.rs Add fs::MTime newtype to encourage != instead of > (#20830) 2024-11-21 19:21:18 -07:00
summary_index.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
worktree_index.rs assistant: Remove /auto (#27608) 2025-03-27 17:23:32 +00:00