typos: More precise config, remove refs to "implace" (#6018)

The config can be made more precise so as to not accidentally
ignore some issues due to case (in-)sensitivity and searching for
substrings with `extend-words`.

Additionally, we can check the configuration directories as
well like `.github`.

The usage of `implace_it` went away some time ago, but not all
references were removed.
This commit is contained in:
Bruce Mitchener 2024-07-24 13:55:10 +07:00 committed by GitHub
parent 6d7975eb3b
commit 0aca442d15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 16 additions and 8 deletions

View File

@ -7,7 +7,7 @@ updates:
interval: weekly
# This allows dependabot to update _all_ lockfile packages.
#
# These will be grouped into the existing group update PRs, so shoudn't generate additional jobs.
# These will be grouped into the existing group update PRs, so shouldn't generate additional jobs.
allow:
# Allow both direct and indirect updates for all packages
- dependency-type: "all"

View File

@ -1,5 +1,8 @@
[files]
# Include .github, .cargo, etc.
ignore-hidden = false
extend-exclude = [
'/.git',
# spirv-asm isn't real source code
'*.spvasm',
'etc/big-picture.xml',
@ -13,15 +16,22 @@ extend-exclude = [
[default.extend-words]
# Things that aren't typos
lod = "lod"
inout = "inout"
derivate = "derivate"
implace = "implace"
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]
ANDed = "ANDed"
D3DCOLORtoUBYTE4 = "D3DCOLORtoUBYTE4"
Derivate = "Derivate"
inout = "inout"
[type.wgsl]
extend-glob = ["*.wgsl"]
[type.wgsl.extend-identifiers]
pn = "pn"
[type.yaml.extend-words]
dota = "dota"

View File

@ -7,7 +7,6 @@ Ash expects slices, which we don't generally have available.
We cope with this requirement by the combination of the following ways:
- temporarily allocating `Vec` on heap, where overhead is permitted
- growing temporary local storage
- using `implace_it` on iterators
## Framebuffers and Render passes
@ -714,7 +713,6 @@ impl Temp {
self.marker.clear();
self.buffer_barriers.clear();
self.image_barriers.clear();
//see also - https://github.com/NotIntMan/inplace_it/issues/8
}
fn make_c_str(&mut self, name: &str) -> &CStr {