ZIm/crates/gpui/examples
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
..
image
svg
animation.rs
data_table.rs
drag_drop.rs
gif_viewer.rs
gradient.rs
grid_layout.rs Add grid support to GPUI (#36153) 2025-08-14 00:01:17 +00:00
hello_world.rs
image_gallery.rs
image_loading.rs
input.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
on_window_close_quit.rs
opacity.rs
ownership_post.rs
painting.rs
paths_bench.rs
pattern.rs
scrollable.rs
set_menus.rs gpui: Allow selection of "Services" menu independent of menu title (#34115) 2025-08-11 21:10:14 +00:00
shadow.rs
tab_stop.rs gpui: Press enter, space to trigger click to focused element (#35075) 2025-08-05 18:15:30 -04:00
text.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
text_layout.rs
text_wrapper.rs
tree.rs
uniform_list.rs
window.rs
window_positioning.rs
window_shadow.rs gpui: Press enter, space to trigger click to focused element (#35075) 2025-08-05 18:15:30 -04:00