From 493e091fd56f95f24d8ca107af4a18af5c825d62 Mon Sep 17 00:00:00 2001 From: withtimezone Date: Mon, 20 Oct 2025 15:19:44 +0800 Subject: [PATCH] chore: remove repetitive words in comment Signed-off-by: withtimezone --- docs/review-checklist.md | 2 +- naga/src/arena/handlevec.rs | 2 +- naga/src/front/wgsl/index.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/review-checklist.md b/docs/review-checklist.md index b422b8f5857..918075f1bfa 100644 --- a/docs/review-checklist.md +++ b/docs/review-checklist.md @@ -67,5 +67,5 @@ If your change adds a new operation: identifiers? (This is usually not relevant to the SPIR-V backend.) - [ ] 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`? diff --git a/naga/src/arena/handlevec.rs b/naga/src/arena/handlevec.rs index ba3b3c0aa89..506c125b0db 100644 --- a/naga/src/arena/handlevec.rs +++ b/naga/src/arena/handlevec.rs @@ -14,7 +14,7 @@ use core::ops; /// Rather than a `push` method, `HandleVec` has an [`insert`] method, analogous /// to [`HashMap::insert`], that requires you to provide the handle at which the /// 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. /// /// [`insert`]: HandleVec::insert diff --git a/naga/src/front/wgsl/index.rs b/naga/src/front/wgsl/index.rs index 923cc75476e..b9e5cf37540 100644 --- a/naga/src/front/wgsl/index.rs +++ b/naga/src/front/wgsl/index.rs @@ -183,7 +183,7 @@ impl<'a> DependencySolver<'a, '_> { self.temp_visited[id_usize] = false; // 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. self.out.push(id); self.visited[id_usize] = true;