chore: remove repetitive words in comment (#8385)

This commit is contained in:
withtimezone 2025-10-21 02:42:54 +08:00 committed by GitHub
parent 421fb18a25
commit 4ea04a69c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -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`?

View File

@ -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

View File

@ -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;