chore: allow type_complexity with clippy

This commit is contained in:
Muhammad Nauman Raza 2024-05-27 23:47:46 +01:00
parent 832bbda824
commit 86f6f47eee
No known key found for this signature in database
GPG key ID: B0EF3A98B29ADB1D
2 changed files with 2 additions and 0 deletions

View file

@ -21,6 +21,7 @@ pub struct Enemy {
}
// Define the enemy movement system
#[allow(clippy::type_complexity)]
pub fn enemy_movement(
time: Res<Time>,
mut set: ParamSet<(

View file

@ -68,6 +68,7 @@ pub fn movement(
transform.translation += movement_direction * movement_distance;
}
#[allow(clippy::type_complexity)]
pub fn attack(
keys: Res<ButtonInput<KeyCode>>,
mut set: ParamSet<(