From ce4a7773ccb606c51c824881e37043bc937c94f2 Mon Sep 17 00:00:00 2001 From: findmyhappy <167661649+findmyhappy@users.noreply.github.com> Date: Tue, 30 Apr 2024 15:59:56 +0800 Subject: docs: fix some typos in comments (#23520) --- ext/webgpu/01_webgpu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/webgpu/01_webgpu.js') 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", ); } -- cgit v1.2.3