chore: reduce local stack warnings

This commit is contained in:
Lionel DARNIS 2026-05-23 20:49:24 +02:00
parent 4743bb8ec9
commit 675f3b59e3
15 changed files with 63 additions and 48 deletions

View file

@ -2198,7 +2198,7 @@ pub fn update<'a, Message: Clone + 'static>(
x,
y,
mime_types,
surface,
surface: _surface,
},
)) if *rectangle == Some(dnd_id) => {
cold();
@ -2241,7 +2241,7 @@ pub fn update<'a, Message: Clone + 'static>(
}
}
#[cfg(all(feature = "wayland", target_os = "linux"))]
Event::Dnd(DndEvent::Offer(rectangle, OfferEvent::Motion { x, y }))
Event::Dnd(DndEvent::Offer(rectangle, OfferEvent::Motion { x, y: _ }))
if *rectangle == Some(dnd_id) =>
{
let state = state();