mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-12-04 04:38:02 +00:00
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:
parent
6d7975eb3b
commit
0aca442d15
2
.github/dependabot.yml
vendored
2
.github/dependabot.yml
vendored
@ -7,7 +7,7 @@ updates:
|
|||||||
interval: weekly
|
interval: weekly
|
||||||
# This allows dependabot to update _all_ lockfile packages.
|
# 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:
|
||||||
# Allow both direct and indirect updates for all packages
|
# Allow both direct and indirect updates for all packages
|
||||||
- dependency-type: "all"
|
- dependency-type: "all"
|
||||||
|
20
typos.toml
20
typos.toml
@ -1,5 +1,8 @@
|
|||||||
[files]
|
[files]
|
||||||
|
# Include .github, .cargo, etc.
|
||||||
|
ignore-hidden = false
|
||||||
extend-exclude = [
|
extend-exclude = [
|
||||||
|
'/.git',
|
||||||
# spirv-asm isn't real source code
|
# spirv-asm isn't real source code
|
||||||
'*.spvasm',
|
'*.spvasm',
|
||||||
'etc/big-picture.xml',
|
'etc/big-picture.xml',
|
||||||
@ -13,15 +16,22 @@ extend-exclude = [
|
|||||||
[default.extend-words]
|
[default.extend-words]
|
||||||
# Things that aren't typos
|
# Things that aren't typos
|
||||||
lod = "lod"
|
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
|
# Usernames
|
||||||
Healthire = "Healthire"
|
Healthire = "Healthire"
|
||||||
REASY = "REASY"
|
REASY = "REASY"
|
||||||
|
|
||||||
[type.rust.extend-identifiers]
|
[type.rust.extend-identifiers]
|
||||||
|
ANDed = "ANDed"
|
||||||
D3DCOLORtoUBYTE4 = "D3DCOLORtoUBYTE4"
|
D3DCOLORtoUBYTE4 = "D3DCOLORtoUBYTE4"
|
||||||
|
Derivate = "Derivate"
|
||||||
|
inout = "inout"
|
||||||
|
|
||||||
|
[type.wgsl]
|
||||||
|
extend-glob = ["*.wgsl"]
|
||||||
|
|
||||||
|
[type.wgsl.extend-identifiers]
|
||||||
|
pn = "pn"
|
||||||
|
|
||||||
|
[type.yaml.extend-words]
|
||||||
|
dota = "dota"
|
||||||
|
@ -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:
|
We cope with this requirement by the combination of the following ways:
|
||||||
- temporarily allocating `Vec` on heap, where overhead is permitted
|
- temporarily allocating `Vec` on heap, where overhead is permitted
|
||||||
- growing temporary local storage
|
- growing temporary local storage
|
||||||
- using `implace_it` on iterators
|
|
||||||
|
|
||||||
## Framebuffers and Render passes
|
## Framebuffers and Render passes
|
||||||
|
|
||||||
@ -714,7 +713,6 @@ impl Temp {
|
|||||||
self.marker.clear();
|
self.marker.clear();
|
||||||
self.buffer_barriers.clear();
|
self.buffer_barriers.clear();
|
||||||
self.image_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 {
|
fn make_c_str(&mut self, name: &str) -> &CStr {
|
||||||
|
Loading…
Reference in New Issue
Block a user