Skip to content

Commit

Permalink
bump to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsDoot committed Oct 13, 2024
1 parent 441a988 commit 5142a50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ derive_more = { version = "1", default-features = false, features = [
] }
nonmax = "0.5"
arrayvec = { version = "0.7.4", optional = true }
smallvec = "1"
smallvec = { version = "1", features = ["union"] }

[dev-dependencies]
rand = "0.8"
Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/observer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ pub struct ObserverTrigger {
/// The [`Event`] the trigger targeted.
event_type: ComponentId,
/// The [`ComponentId`]s the trigger targeted.
components: SmallVec<[ComponentId; 1]>,
components: SmallVec<[ComponentId; 2]>,
/// The entity the trigger targeted.
entity: Entity,
}
Expand Down

0 comments on commit 5142a50

Please sign in to comment.