clippy fix

This commit is contained in:
Chris Cochrun 2025-08-20 15:07:13 -05:00
parent 00dc33a661
commit 4a2f41eaf3
5 changed files with 52 additions and 64 deletions

View file

@ -1,5 +1,3 @@
use std::rc::Rc;
use cosmic::{
iced::{
alignment::Vertical, clipboard::dnd::DndAction,
@ -394,7 +392,7 @@ impl<'a> Library {
)
.action(DndAction::Copy)
.drag_icon({
let model = model.kind.clone();
let model = model.kind;
move |i| {
let state = State::None;
let icon = match model {