Skip to content

Commit aa14237

Browse files
committed
Remove unnecessary NonSendMarker
1 parent bcc56ac commit aa14237

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

crates/bevy_winit/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use winit::{event_loop::EventLoop, window::WindowId};
2424

2525
use bevy_a11y::AccessibilityRequested;
2626
use bevy_app::{App, Last, Plugin};
27-
use bevy_ecs::{prelude::*, system::NonSendMarker};
27+
use bevy_ecs::prelude::*;
2828
use bevy_window::{exit_on_all_closed, Window, WindowCreated};
2929
use system::{changed_windows, check_keyboard_focus_lost, despawn_windows};
3030
pub use system::{create_monitors, create_windows};
@@ -208,7 +208,6 @@ pub type CreateWindowParams<'w, 's, F = ()> = (
208208
ResMut<'w, WinitActionRequestHandlers>,
209209
Res<'w, AccessibilityRequested>,
210210
Res<'w, WinitMonitors>,
211-
NonSendMarker,
212211
);
213212

214213
/// The parameters of the [`create_monitors`] system.

crates/bevy_winit/src/system.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ pub fn create_windows<F: QueryFilter + 'static>(
5555
mut handlers,
5656
accessibility_requested,
5757
monitors,
58-
_marker,
5958
): SystemParamItem<CreateWindowParams<F>>,
6059
) {
6160
WINIT_WINDOWS.with_borrow_mut(|ww_ref| {

0 commit comments

Comments
 (0)