bevy/crates
Ryo Hirayama 1e049a651b Fix type mismatch error with latest winit (#3883)
# Objective

When I use the latest winit with bevy main, I got this error.
```
error[E0308]: mismatched types
   --> /Users/ryo/.cargo/git/checkouts/bevy-f7ffde730c324c74/b13f238/crates/bevy_winit/src/lib.rs:191:5
    |
191 |     event_loop.run_return(event_handler)
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `i32`
    |
help: consider using a semicolon here
    |
191 |     event_loop.run_return(event_handler);
    |                                         +
help: try adding a return type
    |
187 | -> i32 where
    | ++++++
```

In [this commit](a52f755ce8), the signature of `run_return` was changed in winit.

## Solution

This tiny PR does not add support for exit code, but makes compilation successful.
2022-02-08 04:14:33 +00:00
..
bevy_app Deprecate .system (#3302) 2022-02-08 04:00:58 +00:00
bevy_asset Deprecate .system (#3302) 2022-02-08 04:00:58 +00:00
bevy_audio Update rodio 0.15 (#3846) 2022-02-03 04:25:44 +00:00
bevy_core Deprecate .system (#3302) 2022-02-08 04:00:58 +00:00
bevy_core_pipeline Update ClearColor Resource docs (#3842) 2022-02-02 21:29:48 +00:00
bevy_crevice Don't panic in macro shape validation (#3647) 2022-01-15 22:14:43 +00:00
bevy_derive Don't panic in macro shape validation (#3647) 2022-01-15 22:14:43 +00:00
bevy_diagnostic reverse how diagnostic values are saved (#3056) 2022-02-07 21:50:52 +00:00
bevy_dylib Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_dynamic_plugin Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_ecs Deprecate .system (#3302) 2022-02-08 04:00:58 +00:00
bevy_ecs_compile_fail_tests Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_gilrs Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_gltf Add TransformBundle (#3054) 2022-02-06 01:07:55 +00:00
bevy_input derive clone for Input (#3569) 2022-02-04 02:42:59 +00:00
bevy_internal Enable the doc_markdown clippy lint (#3457) 2022-01-09 23:20:13 +00:00
bevy_log Add crate level docs to bevy_log and enable #![warn(missing_docs)] (#3520) 2022-01-23 18:00:43 +00:00
bevy_macro_utils Don't panic in macro shape validation (#3647) 2022-01-15 22:14:43 +00:00
bevy_math Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_pbr fix: remove unneeded filter in check_light_mesh_visibility (#3861) 2022-02-04 03:07:22 +00:00
bevy_reflect document more of bevy_reflect (#3655) 2022-01-14 19:09:44 +00:00
bevy_render Deprecate .system (#3302) 2022-02-08 04:00:58 +00:00
bevy_scene Increment last event count on next instead of iter (#2382) 2022-02-02 02:29:33 +00:00
bevy_sprite Add the Inside version to the Collision enum (#2489) 2022-02-01 22:40:25 +00:00
bevy_tasks Document bevy_tasks and enable #![warn(missing_docs)] (#3509) 2022-01-16 04:53:22 +00:00
bevy_text Update docstrings for text_system and text2d_system (#3732) 2022-01-20 19:32:16 +00:00
bevy_transform Add TransformBundle (#3054) 2022-02-06 01:07:55 +00:00
bevy_ui Fix node update (#3785) 2022-02-04 03:37:42 +00:00
bevy_utils Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_window Replace VSync with PresentMode (#3812) 2022-02-04 03:37:44 +00:00
bevy_winit Fix type mismatch error with latest winit (#3883) 2022-02-08 04:14:33 +00:00