Fix typo in the description of the `id` method in `ui.rs` (#7457)
<!-- Please read the "Making a PR" section of [`CONTRIBUTING.md`](https://github.com/emilk/egui/blob/main/CONTRIBUTING.md) before opening a Pull Request! * Keep your PR:s small and focused. * The PR title is what ends up in the changelog, so make it descriptive! * If applicable, add a screenshot or gif. * If it is a non-trivial addition, consider adding a demo for it to `egui_demo_lib`, or a new example. * Do NOT open PR:s from your `master` branch, as that makes it hard for maintainers to test and add commits to your PR. * Remember to run `cargo fmt` and `cargo clippy`. * Open the PR as a draft until you have self-reviewed it and run `./scripts/check.sh`. * When you have addressed a PR comment, mark it as resolved. Please be patient! I will review your PR, but my time is limited! --> * [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". <img width="668" height="201" alt="Screenshot 2025-08-15 at 7 03 27 pm" src="https://github.com/user-attachments/assets/df35cdab-b3ad-44d4-a565-cd9a4d883f21" /> This PR fixes that typo.
This commit is contained in:
parent
ab8dcee7e7
commit
01ee9c72d5
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue