From e9f92fee4c288b8146c901cd72d299151d935ac5 Mon Sep 17 00:00:00 2001 From: One <43485962+c-git@users.noreply.github.com> Date: Fri, 10 Nov 2023 05:12:52 -0500 Subject: [PATCH] Fix some typos (#3459) * Fix typo * Change from what to was It doesn't say WHAT changed only that there WAS a change --- crates/egui/src/response.rs | 4 ++-- crates/egui_plot/src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/egui/src/response.rs b/crates/egui/src/response.rs index e95d07c2..e0c473c1 100644 --- a/crates/egui/src/response.rs +++ b/crates/egui/src/response.rs @@ -78,7 +78,7 @@ pub struct Response { #[doc(hidden)] pub interact_pointer_pos: Option, - /// 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). @@ -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). diff --git a/crates/egui_plot/src/lib.rs b/crates/egui_plot/src/lib.rs index 111f5f65..7e8507a6 100644 --- a/crates/egui_plot/src/lib.rs +++ b/crates/egui_plot/src/lib.rs @@ -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 }