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/net/tcp.rs | 2 +- ext/webgpu/01_webgpu.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ext') diff --git a/ext/net/tcp.rs b/ext/net/tcp.rs index 583620243..63baa8e4b 100644 --- a/ext/net/tcp.rs +++ b/ext/net/tcp.rs @@ -7,7 +7,7 @@ use socket2::Domain; use socket2::Protocol; use socket2::Type; -/// Our per-process `Connections`. We can use this to find an existant listener for +/// Our per-process `Connections`. We can use this to find an existent listener for /// a given local address and clone its socket for us to listen on in our thread. static CONNS: std::sync::OnceLock> = std::sync::OnceLock::new(); 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