summaryrefslogtreecommitdiff
path: root/ext/webgpu/01_webgpu.js
diff options
context:
space:
mode:
authorfindmyhappy <167661649+findmyhappy@users.noreply.github.com>2024-04-30 15:59:56 +0800
committerGitHub <noreply@github.com>2024-04-30 17:59:56 +1000
commitce4a7773ccb606c51c824881e37043bc937c94f2 (patch)
tree571f819ff238c3b2e43072caa81bb740df1d5073 /ext/webgpu/01_webgpu.js
parent850331164138233ea86c9a5032d99ad29c79efe1 (diff)
docs: fix some typos in comments (#23520)
Diffstat (limited to 'ext/webgpu/01_webgpu.js')
-rw-r--r--ext/webgpu/01_webgpu.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/webgpu/01_webgpu.js b/ext/webgpu/01_webgpu.js
index b8b13ebf8..d3e9bf4e3 100644
--- a/ext/webgpu/01_webgpu.js
+++ b/ext/webgpu/01_webgpu.js
@@ -193,7 +193,7 @@ function assertDeviceMatch(
const resourceDevice = assertDevice(resource, prefix, resourceContext);
if (resourceDevice.rid !== self.rid) {
throw new DOMException(
- `${prefix}: ${resourceContext} belongs to a diffent device than ${selfContext}.`,
+ `${prefix}: ${resourceContext} belongs to a different device than ${selfContext}.`,
"OperationError",
);
}