Skip to content

Commit

Permalink
typo: 'plateform' -> 'platform' (#12626)
Browse files Browse the repository at this point in the history
# Objective

- Have even fewer typos.

## Solution

- Fix typos found. In this case, `plateform`.

Co-authored-by: François Mockers <mockersf@gmail.com>
  • Loading branch information
waywardmonkeys and mockersf committed Mar 21, 2024
1 parent cc31449 commit 412711b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_winit/src/lib.rs
Expand Up @@ -770,8 +770,8 @@ fn run_app_update_if_should(
UpdateMode::Reactive { wait } | UpdateMode::ReactiveLowPower { wait } => {
// TODO(bug): this is unexpected behavior.
// When Reactive, user expects bevy to actually wait that amount of time,
// and not potentially infinitely depending on plateform specifics (which this does)
// Need to verify the plateform specifics (whether this can occur in
// and not potentially infinitely depending on platform specifics (which this does)
// Need to verify the platform specifics (whether this can occur in
// rare-but-possible cases) and replace this with a panic or a log warn!
if let Some(next) = runner_state.last_update.checked_add(*wait) {
event_loop.set_control_flow(ControlFlow::WaitUntil(next));
Expand Down

0 comments on commit 412711b

Please sign in to comment.