mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
chore: remove repetitive words in comment (#8385)
This commit is contained in:
parent
421fb18a25
commit
4ea04a69c9
@ -67,5 +67,5 @@ If your change adds a new operation:
|
|||||||
identifiers? (This is usually not relevant to the SPIR-V
|
identifiers? (This is usually not relevant to the SPIR-V
|
||||||
backend.)
|
backend.)
|
||||||
- [ ] Did you use the `Namer` to generate a fresh identifier?
|
- [ ] Did you use the `Namer` to generate a fresh identifier?
|
||||||
- [ ] Did you register the identifier as a reserved word with the the `Namer`?
|
- [ ] Did you register the identifier as a reserved word with the `Namer`?
|
||||||
- [ ] Did you use a reserved prefix registered with the `Namer`?
|
- [ ] Did you use a reserved prefix registered with the `Namer`?
|
||||||
|
|||||||
@ -14,7 +14,7 @@ use core::ops;
|
|||||||
/// Rather than a `push` method, `HandleVec` has an [`insert`] method, analogous
|
/// Rather than a `push` method, `HandleVec` has an [`insert`] method, analogous
|
||||||
/// to [`HashMap::insert`], that requires you to provide the handle at which the
|
/// to [`HashMap::insert`], that requires you to provide the handle at which the
|
||||||
/// new value should appear. However, since `HandleVec` only supports insertion
|
/// new value should appear. However, since `HandleVec` only supports insertion
|
||||||
/// at the end, the given handle's index must be equal to the the `HandleVec`'s
|
/// at the end, the given handle's index must be equal to the `HandleVec`'s
|
||||||
/// current length; otherwise, the insertion will panic.
|
/// current length; otherwise, the insertion will panic.
|
||||||
///
|
///
|
||||||
/// [`insert`]: HandleVec::insert
|
/// [`insert`]: HandleVec::insert
|
||||||
|
|||||||
@ -183,7 +183,7 @@ impl<'a> DependencySolver<'a, '_> {
|
|||||||
self.temp_visited[id_usize] = false;
|
self.temp_visited[id_usize] = false;
|
||||||
|
|
||||||
// Now everything this declaration uses has been visited, and is already
|
// Now everything this declaration uses has been visited, and is already
|
||||||
// present in `out`. That means we we can append this one to the
|
// present in `out`. That means we can append this one to the
|
||||||
// ordering, and mark it as visited.
|
// ordering, and mark it as visited.
|
||||||
self.out.push(id);
|
self.out.push(id);
|
||||||
self.visited[id_usize] = true;
|
self.visited[id_usize] = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user