diff --git a/crates/egui/src/drag_and_drop.rs b/crates/egui/src/drag_and_drop.rs index 5c5bd496ad8..f682a0dc1a7 100644 --- a/crates/egui/src/drag_and_drop.rs +++ b/crates/egui/src/drag_and_drop.rs @@ -51,7 +51,7 @@ impl DragAndDrop { } /// Clears the payload, setting it to `None`. - pub fn clear_poayload(ctx: &Context) { + pub fn clear_payload(ctx: &Context) { ctx.data_mut(|data| { let state = data.get_temp_mut_or_default::(Id::NULL); state.payload = None;