Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
murl-digital committed Feb 13, 2025
1 parent f0c4370 commit 64e9fb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/event_loop/background_thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ where
}

// Rust does not allow us to use the `T` and `E` type variable in statics, so this is a
// workaround to have a singleton that also works if for whatever reason there arem ultiple `T`
// and `E`s in a single process (won't happen with normal plugin usage, but sho knwos).
// workaround to have a singleton that also works if for whatever reason there are multiple `T`
// and `E`s in a single process (won't happen with normal plugin usage, but who knows).
static HANDLE_MAP: LazyLock<Mutex<anymap3::Map<dyn std::any::Any + Send>>> =
LazyLock::new(|| Mutex::new(anymap3::Map::new()));

Expand Down

0 comments on commit 64e9fb8

Please sign in to comment.