Resolve unused '#[allow(clippy::assign_op_pattern)]' error supressions

This commit is contained in:
Dr. Dystopia 2021-07-24 20:01:11 +02:00
parent e9f6ae6b37
commit 575db6f51d

View File

@ -261,7 +261,6 @@ pub fn handle_move(data: &JoinData<'_>, update: &mut StateUpdate, efficiency: f3
}
/// Updates components to move player as if theyre on ground or in air
#[allow(clippy::assign_op_pattern)] // TODO: Pending review in #587
fn basic_move(data: &JoinData<'_>, update: &mut StateUpdate, efficiency: f32) {
let efficiency = efficiency * data.stats.move_speed_modifier * data.stats.friction_modifier;