From 675660108984eca42c98ac3d2086f0f17f479f86 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 14 Apr 2024 09:28:36 +0000 Subject: [PATCH] build(deps): bump crate-ci/typos from 1.19.0 to 1.20.4 (#5506) * build(deps): bump crate-ci/typos from 1.19.0 to 1.20.4 Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.19.0 to 1.20.4. - [Release notes](https://github.com/crate-ci/typos/releases) - [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md) - [Commits](https://github.com/crate-ci/typos/compare/v1.19.0...v1.20.4) --- updated-dependencies: - dependency-name: crate-ci/typos dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * update to typoes 1.20.8 since it has a few important fixes * typo fixes & exceptions --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andreas Reich --- .github/workflows/ci.yml | 2 +- typos.toml | 9 +++++++-- wgpu-core/src/device/resource.rs | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) 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: