Skip to content

Commit

Permalink
Fix Rust 2018 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
torkleyy committed Dec 4, 2018
1 parent 321ab8f commit e16615c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ impl Display for StateError {
}

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

0 comments on commit e16615c

Please sign in to comment.