diff options
Diffstat (limited to 'ecs/src/component/local.rs')
-rw-r--r-- | ecs/src/component/local.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ecs/src/component/local.rs b/ecs/src/component/local.rs index 89c3139..a365efe 100644 --- a/ecs/src/component/local.rs +++ b/ecs/src/component/local.rs @@ -3,7 +3,7 @@ use std::ops::{Deref, DerefMut}; use crate::component::{Component, Id}; use crate::system::{ComponentRefMut, Param as SystemParam, System}; -use crate::WorldData; +use crate::World; /// Holds a component which is local to a single system. #[derive(Debug)] @@ -29,7 +29,7 @@ where fn new<SystemImpl>( system: &'world impl System<'world, SystemImpl>, - _world_data: &'world WorldData, + _world: &'world World, ) -> Self { let local_component = system |