Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Oct 28, 2021
1 parent 3a0a1ac commit af55850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/system/system_param.rs
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ unsafe impl<T: Resource + Default> SystemParamState for LocalState<T, local_valu

fn init(_world: &mut World, _system_meta: &mut SystemMeta, config: Self::Config) -> Self {
Self {
value: config.unwrap_or_else(T::default),
value: config.unwrap_or_default(),
value_from: Default::default(),
}
}
Expand Down

0 comments on commit af55850

Please sign in to comment.