From 357822ac5c404352eb60f057d1677ae2761af73f Mon Sep 17 00:00:00 2001 From: mvlabat Date: Mon, 19 Feb 2024 14:00:01 +0200 Subject: [PATCH] Fix lifetimes in InputResources --- src/systems.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systems.rs b/src/systems.rs index 2f1f402e6..2c79b3d5f 100644 --- a/src/systems.rs +++ b/src/systems.rs @@ -75,7 +75,7 @@ pub struct InputResources<'w, 's> { pub egui_clipboard: Res<'w, crate::EguiClipboard>, pub modifier_keys_state: Local<'s, ModifierKeysState>, #[system_param(ignore)] - _marker: PhantomData<&'s ()>, + _marker: PhantomData<&'w ()>, } #[allow(missing_docs)]