Skip to content
This repository has been archived by the owner on Apr 18, 2022. It is now read-only.

Commit

Permalink
Revert "Fix Rust 2018 warning"
Browse files Browse the repository at this point in the history
This reverts commit e16615c.
  • Loading branch information
torkleyy committed Dec 4, 2018
1 parent e16615c commit e4f711b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/state.rs
Expand Up @@ -25,7 +25,10 @@ impl Display for StateError {
}

/// State data encapsulates the data sent to all state functions from the application main loop.
pub struct StateData<'a, T> {
pub struct StateData<'a, T>
where
T: 'a,
{
/// Main `World`
pub world: &'a mut World,
/// User defined game data
Expand Down

0 comments on commit e4f711b

Please sign in to comment.