Skip to content

Commit

Permalink
Fix grammar in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Jan 26, 2024
1 parent 3c8b651 commit fe97f09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/egui/src/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pub struct Response {
#[doc(hidden)]
pub drag_started: bool,

/// The widgets is being dragged.
/// The widget is being dragged.
#[doc(hidden)]
pub dragged: bool,

Expand Down Expand Up @@ -281,7 +281,7 @@ impl Response {
self.drag_started() && self.ctx.input(|i| i.pointer.button_down(button))
}

/// The widgets is being dragged.
/// The widget is being dragged.
///
/// To find out which button(s), use [`Self::dragged_by`].
///
Expand Down

0 comments on commit fe97f09

Please sign in to comment.