From 01ee9c72d5c8cf48dc9da350835f6264aeace8a5 Mon Sep 17 00:00:00 2001 From: Dot32 <61964090+Dot32Dev@users.noreply.github.com> Date: Thu, 4 Sep 2025 15:18:53 +0800 Subject: [PATCH] Fix typo in the description of the `id` method in `ui.rs` (#7457) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [x] I have followed the instructions in the PR template The description of the id method in the Ui struct incorrectly wrote "where" instead of "were". Screenshot 2025-08-15 at 7 03 27 pm This PR fixes that typo. --- crates/egui/src/ui.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui/src/ui.rs b/crates/egui/src/ui.rs index 1371f1a7..67d210b2 100644 --- a/crates/egui/src/ui.rs +++ b/crates/egui/src/ui.rs @@ -377,7 +377,7 @@ impl Ui { /// /// However, it is not necessarily globally unique. /// For instance, sibling `Ui`s share the same [`Self::id`] - /// unless they where explicitly given different id salts using + /// unless they were explicitly given different id salts using /// [`UiBuilder::id_salt`]. #[inline] pub fn id(&self) -> Id {