chore: reduce local stack warnings
This commit is contained in:
parent
4743bb8ec9
commit
675f3b59e3
15 changed files with 63 additions and 48 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue