diff --git a/.typos.toml b/.typos.toml index db5bf48b..b9d882be 100644 --- a/.typos.toml +++ b/.typos.toml @@ -6,6 +6,7 @@ ime = "ime" # Input Method Editor nknown = "nknown" # part of @55nknown username ro = "ro" # read-only, also part of the username @Phen-Ro +typ = "typ" # Often used because `type` is a keyword in Rust # I mistype these so often tesalator = "tessellator" diff --git a/crates/egui/src/data/input.rs b/crates/egui/src/data/input.rs index 6b22ee7b..cc872524 100644 --- a/crates/egui/src/data/input.rs +++ b/crates/egui/src/data/input.rs @@ -1101,7 +1101,7 @@ impl RawInput { system_theme, } = self; - ui.label(format!("Active viwport: {viewport_id:?}")); + ui.label(format!("Active viewport: {viewport_id:?}")); for (id, viewport) in viewports { ui.group(|ui| { ui.label(format!("Viewport {id:?}"));