Skip to content

Commit 0aca442

Browse files
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.
1 parent 6d7975e commit 0aca442

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ updates:
77
interval: weekly
88
# This allows dependabot to update _all_ lockfile packages.
99
#
10-
# These will be grouped into the existing group update PRs, so shoudn't generate additional jobs.
10+
# These will be grouped into the existing group update PRs, so shouldn't generate additional jobs.
1111
allow:
1212
# Allow both direct and indirect updates for all packages
1313
- dependency-type: "all"

typos.toml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
[files]
2+
# Include .github, .cargo, etc.
3+
ignore-hidden = false
24
extend-exclude = [
5+
'/.git',
36
# spirv-asm isn't real source code
47
'*.spvasm',
58
'etc/big-picture.xml',
@@ -13,15 +16,22 @@ extend-exclude = [
1316
[default.extend-words]
1417
# Things that aren't typos
1518
lod = "lod"
16-
inout = "inout"
17-
derivate = "derivate"
18-
implace = "implace"
19-
Ded = "Ded" # This shows up in "ANDed"
20-
pn = "pn" # used as a normal name in debug-symbol-terrain.wgsl
2119

2220
# Usernames
2321
Healthire = "Healthire"
2422
REASY = "REASY"
2523

2624
[type.rust.extend-identifiers]
25+
ANDed = "ANDed"
2726
D3DCOLORtoUBYTE4 = "D3DCOLORtoUBYTE4"
27+
Derivate = "Derivate"
28+
inout = "inout"
29+
30+
[type.wgsl]
31+
extend-glob = ["*.wgsl"]
32+
33+
[type.wgsl.extend-identifiers]
34+
pn = "pn"
35+
36+
[type.yaml.extend-words]
37+
dota = "dota"

wgpu-hal/src/vulkan/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Ash expects slices, which we don't generally have available.
77
We cope with this requirement by the combination of the following ways:
88
- temporarily allocating `Vec` on heap, where overhead is permitted
99
- growing temporary local storage
10-
- using `implace_it` on iterators
1110
1211
## Framebuffers and Render passes
1312
@@ -714,7 +713,6 @@ impl Temp {
714713
self.marker.clear();
715714
self.buffer_barriers.clear();
716715
self.image_barriers.clear();
717-
//see also - https://github.com/NotIntMan/inplace_it/issues/8
718716
}
719717

720718
fn make_c_str(&mut self, name: &str) -> &CStr {

0 commit comments

Comments
 (0)