Skip to content

Commit

Permalink
Fix lifetimes in InputResources
Browse files Browse the repository at this point in the history
  • Loading branch information
vladbat00 committed Feb 19, 2024
1 parent 583710a commit 357822a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/systems.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 357822a

Please sign in to comment.