Skip to content

Commit

Permalink
Remove unnecessary #[bundle()]
Browse files Browse the repository at this point in the history
Appears this just isn't needed anymore as I had removed the others
without issue.

In 0.10 `#[bundle]` was used, in 0.11 `#[bundle(ignore)]` was added,
 causing `#[bundle]` to error. I couldn't find mention of how migrate
`#[bundle]` but removing it seems to just work.
  • Loading branch information
paul-hansen committed Jul 10, 2023
1 parent 84586fe commit dcc93f8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/press_duration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ pub struct Player;
struct PlayerBundle {
player: Player,
velocity: Velocity,
#[bundle()]
input_manager: InputManagerBundle<Action>,
sprite: SpriteBundle,
}
Expand Down

0 comments on commit dcc93f8

Please sign in to comment.