From e5c9f922698a1b7a7fe362b69015b216b047baa5 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 21 Mar 2023 20:23:46 -0400 Subject: [PATCH] Fix clippy from rebase --- common/src/comp/buff.rs | 1 + common/systems/src/buff.rs | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/common/src/comp/buff.rs b/common/src/comp/buff.rs index fd5af489e1..348352713b 100644 --- a/common/src/comp/buff.rs +++ b/common/src/comp/buff.rs @@ -636,6 +636,7 @@ pub mod tests { BuffSource::Unknown, time, None, + None, ) } diff --git a/common/systems/src/buff.rs b/common/systems/src/buff.rs index 97675da10a..94317bd621 100644 --- a/common/systems/src/buff.rs +++ b/common/systems/src/buff.rs @@ -151,7 +151,7 @@ impl<'a> System<'a> for Sys { BuffSource::World, *read_data.time, Some(&stat), - Some(&health), + Some(health), )), }); } @@ -169,7 +169,7 @@ impl<'a> System<'a> for Sys { BuffSource::World, *read_data.time, Some(&stat), - Some(&health), + Some(health), )), }); } @@ -187,7 +187,7 @@ impl<'a> System<'a> for Sys { BuffSource::World, *read_data.time, Some(&stat), - Some(&health), + Some(health), )), }); // When standing on IceSpike also apply Frozen @@ -200,7 +200,7 @@ impl<'a> System<'a> for Sys { BuffSource::World, *read_data.time, Some(&stat), - Some(&health), + Some(health), )), }); } @@ -221,7 +221,7 @@ impl<'a> System<'a> for Sys { BuffSource::World, *read_data.time, Some(&stat), - Some(&health), + Some(health), )), }); } else if matches!( @@ -301,7 +301,7 @@ impl<'a> System<'a> for Sys { buff.source, *read_data.time, Some(&stat), - Some(&health), + Some(health), )), }); }