From 0ffd303db6a7798ba193cf83819729cd59c854b5 Mon Sep 17 00:00:00 2001 From: Charlie Tonneslan Date: Tue, 24 Mar 2026 10:54:31 -0400 Subject: [PATCH] fix(typo): dependant -> dependent (#4540) --- winit-web/src/monitor.rs | 4 ++-- winit/src/event_loop.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/winit-web/src/monitor.rs b/winit-web/src/monitor.rs index 612f9923c..029eb4ab2 100644 --- a/winit-web/src/monitor.rs +++ b/winit-web/src/monitor.rs @@ -526,7 +526,7 @@ impl MonitorHandler { }, }; - // Notifying `Future`s is not dependant on the lifetime of the runner, + // Notifying `Future`s is not dependent on the lifetime of the runner, // because they can outlive it. if let Some(runner) = runner.upgrade() { if let Some(details) = details { @@ -761,7 +761,7 @@ impl MonitorPermissionFuture { wasm_bindgen_futures::spawn_local(async move { match future.await { Ok(details) => { - // Notifying `Future`s is not dependant on the lifetime of the runner, because + // Notifying `Future`s is not dependent on the lifetime of the runner, because // they can outlive it. notifier.notify(Ok(())); diff --git a/winit/src/event_loop.rs b/winit/src/event_loop.rs index 18b5ee913..22fc1b980 100644 --- a/winit/src/event_loop.rs +++ b/winit/src/event_loop.rs @@ -29,7 +29,7 @@ use crate::platform_impl; /// /// To wake up an `EventLoop` from a another thread, see the [`EventLoopProxy`] docs. /// -/// Note that this cannot be shared across threads (due to platform-dependant logic +/// Note that this cannot be shared across threads (due to platform-dependent logic /// forbidding it), as such it is neither [`Send`] nor [`Sync`]. If you need cross-thread access, /// the [`Window`] created from this _can_ be sent to an other thread, and the /// [`EventLoopProxy`] allows you to wake up an `EventLoop` from another thread.