ZIm/crates/gpui/src/elements
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
..
anchored.rs Add initial element inspector for Zed development (#31315) 2025-05-23 23:08:59 +00:00
animation.rs gpui: Allow Animation to be cloned (#34933) 2025-07-23 02:10:40 +00:00
canvas.rs Add initial element inspector for Zed development (#31315) 2025-05-23 23:08:59 +00:00
deferred.rs Add initial element inspector for Zed development (#31315) 2025-05-23 23:08:59 +00:00
div.rs Fix a bunch of other low-hanging style lints (#36498) 2025-08-19 21:26:17 +02:00
image_cache.rs Fix a bunch of other low-hanging style lints (#36498) 2025-08-19 21:26:17 +02:00
img.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
list.rs Fix a bunch of other low-hanging style lints (#36498) 2025-08-19 21:26:17 +02:00
mod.rs gpui: Add a standard text example (#30747) 2025-05-16 17:35:44 +02:00
surface.rs Add initial element inspector for Zed development (#31315) 2025-05-23 23:08:59 +00:00
svg.rs Add initial element inspector for Zed development (#31315) 2025-05-23 23:08:59 +00:00
text.rs Another batch of lint fixes (#36521) 2025-08-19 20:33:44 +00:00
uniform_list.rs gpui: Add scroll_to_item_with_offset to UniformListScrollState (#35064) 2025-07-25 05:13:09 +05:30