Skip to content

Commit

Permalink
Fix allow in impl_trigger_targets_tuples
Browse files Browse the repository at this point in the history
  • Loading branch information
bushrat011899 committed Feb 24, 2025
1 parent eefe311 commit 3bf9dbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bevy_ecs/src/observer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ impl<T: TriggerTargets> TriggerTargets for [T] {

macro_rules! impl_trigger_targets_tuples {
($(#[$meta:meta])* $($trigger_targets: ident),*) => {
#[expect(clippy::allow_attributes, reason = "can't guarantee violation of non_snake_case")]
#[allow(non_snake_case, reason = "`all_tuples!()` generates non-snake-case variable names.")]
$(#[$meta])*
impl<$($trigger_targets: TriggerTargets),*> TriggerTargets for ($($trigger_targets,)*)
Expand Down

0 comments on commit 3bf9dbe

Please sign in to comment.