Add `typ` to known words (#5754)

This recently started to fail:
https://github.com/emilk/egui/actions/runs/13628559355/job/38091065444?pr=5706
This commit is contained in:
lucasmerlin 2025-03-03 11:40:28 +01:00 committed by GitHub
parent e995c4c5b4
commit 6e3575b4c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -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"

View File

@ -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:?}"));