Skip to content

Commit

Permalink
Fix some typos (#3459)
Browse files Browse the repository at this point in the history
* Fix typo

* Change from what to was

It doesn't say WHAT changed only that there WAS a change
  • Loading branch information
c-git authored Nov 10, 2023
1 parent 41f9df5 commit e9f92fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crates/egui/src/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub struct Response {
#[doc(hidden)]
pub interact_pointer_pos: Option<Pos2>,

/// What the underlying data changed?
/// Was the underlying data changed?
///
/// e.g. the slider was dragged, text was entered in a [`TextEdit`](crate::TextEdit) etc.
/// Always `false` for something like a [`Button`](crate::Button).
Expand Down Expand Up @@ -339,7 +339,7 @@ impl Response {
self.is_pointer_button_down_on
}

/// What the underlying data changed?
/// Was the underlying data changed?
///
/// e.g. the slider was dragged, text was entered in a [`TextEdit`](crate::TextEdit) etc.
/// Always `false` for something like a [`Button`](crate::Button).
Expand Down
2 changes: 1 addition & 1 deletion crates/egui_plot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1405,7 +1405,7 @@ impl PlotUi {
Vec2::new(delta.x / dp_dv[0] as f32, delta.y / dp_dv[1] as f32)
}

/// Read the transform netween plot coordinates and screen coordinates.
/// Read the transform between plot coordinates and screen coordinates.
pub fn transform(&self) -> &PlotTransform {
&self.last_plot_transform
}
Expand Down

0 comments on commit e9f92fe

Please sign in to comment.