diff --git a/crates/bevy_animation/src/lib.rs b/crates/bevy_animation/src/lib.rs index f4fcd3f7ed..22a6462d2b 100644 --- a/crates/bevy_animation/src/lib.rs +++ b/crates/bevy_animation/src/lib.rs @@ -544,7 +544,7 @@ fn update_transitions(player: &mut AnimationPlayer, time: &Time) { /// Adds animation support to an app #[derive(Default)] -pub struct AnimationPlugin {} +pub struct AnimationPlugin; impl Plugin for AnimationPlugin { fn build(&self, app: &mut App) {