mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-26 14:49:07 -04:00
fix(typo): dependant -> dependent (#4540)
This commit is contained in:
committed by
GitHub
parent
5a74bf0aab
commit
0ffd303db6
@@ -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(()));
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user