Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
abey79 committed Jan 26, 2024
1 parent fe97f09 commit 40dfff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/drag_and_drop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<Self>(Id::NULL);
state.payload = None;
Expand Down

0 comments on commit 40dfff5

Please sign in to comment.