From 475507a24f8f80cdf94d3ce0a9e2e328c7237e7c Mon Sep 17 00:00:00 2001 From: Connor Fitzgerald Date: Mon, 5 Oct 2026 12:49:16 -0400 Subject: [PATCH] typo fix (#10540) --- wgpu-core/src/track/mod.rs | 2 +- wgpu-types/src/write_only.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wgpu-core/src/track/mod.rs b/wgpu-core/src/track/mod.rs index 25d823e0b..98c196cb8 100644 --- a/wgpu-core/src/track/mod.rs +++ b/wgpu-core/src/track/mod.rs @@ -146,7 +146,7 @@ impl TrackerIndex { /// wgpu-core internally use some array-like storage for tracking resources. /// To that end, there needs to be a uniquely assigned index for each live resource /// of a certain type. This index is separate from the resource ID for various reasons: -/// - There can be multiple resource IDs pointing the the same resource. +/// - There can be multiple resource IDs pointing to the same resource. /// - IDs of dead handles can be recycled while resources are internally held alive (and tracked). /// - The plan is to remove IDs in the long run /// ([#5121](https://github.com/gfx-rs/wgpu/issues/5121)). diff --git a/wgpu-types/src/write_only.rs b/wgpu-types/src/write_only.rs index 644c52e98..85d7de2d5 100644 --- a/wgpu-types/src/write_only.rs +++ b/wgpu-types/src/write_only.rs @@ -46,7 +46,7 @@ pub struct WriteOnly<'a, T: ?Sized> { /// The data which this write-only reference allows **writing** to. /// /// This field is not `&mut T`, because if it were, it would assert to the compiler - /// that spurious reads may be inserted, and is is unclear whether those spurious reads + /// that spurious reads may be inserted, and it is unclear whether those spurious reads /// are acceptable. ptr: NonNull,