ZIm/crates/theme/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
..
styles workspace: Highlight where dragged tab will be dropped (#34740) 2025-08-15 11:43:29 +00:00
default_colors.rs workspace: Highlight where dragged tab will be dropped (#34740) 2025-08-15 11:43:29 +00:00
fallback_themes.rs Auto-fix clippy::collapsible_if violations (#36428) 2025-08-19 13:27:24 +00:00
font_family_cache.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
icon_theme.rs Another batch of lint fixes (#36521) 2025-08-19 20:33:44 +00:00
icon_theme_schema.rs Allow icon themes to provide their own file associations (#24926) 2025-02-15 00:35:13 +00:00
registry.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
scale.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
schema.rs workspace: Highlight where dragged tab will be dropped (#34740) 2025-08-15 11:43:29 +00:00
settings.rs Make agent font size inherit the UI font size by default (#36306) 2025-08-16 14:35:06 +00:00
styles.rs theme crate spring cleaning (#18695) 2024-10-03 13:17:31 -04:00
theme.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00