-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix docs mistake in bevy_ecs::world #17336
Conversation
Welcome, new contributor! Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨ |
crates/bevy_ecs/src/world/mod.rs
Outdated
/// Each [`Entity`] can have up to one instance of each type of component. Entity | ||
/// components can be created, updated, removed, and queried using a given [`World`]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps something like
Each Entity has a set of components, but only one instance of each type of component.
so that it's clear that multiple types of components can exist, but only one of each type.
/// Each [`Entity`] can have up to one instance of each type of component. Entity | |
/// components can be created, updated, removed, and queried using a given [`World`]. | |
/// Each [`Entity`] has a set of components, but only one instance of each type of | |
/// component. Entity components can be created, updated, removed, and queried using | |
/// a given [`World`]. |
Co-authored-by: François Mockers <[email protected]>
Objective
Solution
Entity
] has a set of components." redundant.