diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d5019fdc..972d02caf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -614,7 +614,7 @@ jobs: cargo fmt --manifest-path xtask/Cargo.toml -- --check - name: Check for typos - uses: crate-ci/typos@v1.19.0 + uses: crate-ci/typos@v1.20.8 check-cts-runner: # runtime is normally 2 minutes diff --git a/typos.toml b/typos.toml index cf68a5c0d..cb33d95bd 100644 --- a/typos.toml +++ b/typos.toml @@ -1,7 +1,8 @@ [files] extend-exclude = [ # spirv-asm isn't real source code - '*.spvasm' + '*.spvasm', + 'etc/big-picture.xml', ] # Corrections take the form of a key/value pair. The key is the incorrect word @@ -15,8 +16,12 @@ lod = "lod" inout = "inout" derivate = "derivate" implace = "implace" -Ded = "Ded" # This shows up in "ANDed" +Ded = "Ded" # This shows up in "ANDed" +pn = "pn" # used as a normal name in debug-symbol-terrain.wgsl # Usernames Healthire = "Healthire" REASY = "REASY" + +[type.rust.extend-identifiers] +D3DCOLORtoUBYTE4 = "D3DCOLORtoUBYTE4" diff --git a/wgpu-core/src/device/resource.rs b/wgpu-core/src/device/resource.rs index c626d8193..cce6d6741 100644 --- a/wgpu-core/src/device/resource.rs +++ b/wgpu-core/src/device/resource.rs @@ -379,7 +379,7 @@ impl Device { /// Check this device for completed commands. /// - /// The `maintain` argument tells how the maintence function should behave, either + /// The `maintain` argument tells how the maintenance function should behave, either /// blocking or just polling the current state of the gpu. /// /// Return a pair `(closures, queue_empty)`, where: