summaryrefslogtreecommitdiff
path: root/crates/iced_drop
diff options
context:
space:
mode:
Diffstat (limited to 'crates/iced_drop')
-rw-r--r--crates/iced_drop/Cargo.toml2
-rw-r--r--crates/iced_drop/src/widget/droppable.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/iced_drop/Cargo.toml b/crates/iced_drop/Cargo.toml
index 0692084..9b20632 100644
--- a/crates/iced_drop/Cargo.toml
+++ b/crates/iced_drop/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "iced_drop"
version = "0.1.0"
-edition = "2021"
+edition = "2024"
[dependencies]
iced.workspace = true
diff --git a/crates/iced_drop/src/widget/droppable.rs b/crates/iced_drop/src/widget/droppable.rs
index 23c417f..063aef8 100644
--- a/crates/iced_drop/src/widget/droppable.rs
+++ b/crates/iced_drop/src/widget/droppable.rs
@@ -225,7 +225,7 @@ where
}
}
}
- mouse::Event::CursorMoved { mut position } => match state
+ &mouse::Event::CursorMoved { mut position } => match state
.action
{
Action::Select(start) | Action::Drag(start, _) => {