ZIm/crates/language/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
..
syntax_map Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
buffer.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
buffer_tests.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
diagnostic_set.rs sum_tree: Store context on cursor (#34904) 2025-07-22 18:20:48 +02:00
highlight_map.rs Docs for indent_size_for_line and co 2024-01-09 20:50:34 +01:00
language.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
language_registry.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
language_settings.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
manifest.rs lsp: Identify language servers by their configuration (#35270) 2025-08-18 11:43:52 +02:00
outline.rs editor: Improve code completion filtering to provide fewer and more accurate suggestions (#32928) 2025-06-18 16:01:28 +05:30
proto.rs Fix iterator related clippy style lint violations (#36437) 2025-08-19 10:06:35 +02:00
syntax_map.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
task_context.rs Add initial package.json scripts task autodetection (#32497) 2025-06-10 22:16:27 +00:00
text_diff.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
toolchain.rs lsp: Identify language servers by their configuration (#35270) 2025-08-18 11:43:52 +02:00