bevy/crates/bevy_ecs/src
JoJoJet 85c8fb9dfa Revise docs for system set marker traits (#7882)
# Objective

#7863 introduced a potential footgun. When trying to incorrectly add a user-defined type using `in_base_set`, the compiler will suggest that the user implement `BaseSystemSet` for their type. This is a reasonable-sounding suggestion, however this is not the correct way to make a base set, and will lead to a confusing panic message when a marker trait is implemented for the wrong type.

## Solution

Rewrite the documentation for these traits, making it more clear that `BaseSystemSet` is a marker for types that are already base sets, and not a way to define a base set.
2023-03-03 14:43:54 +00:00
..
entity introduce EntityLocation::INVALID const and adjust Entities::get comment (#7623) 2023-02-18 21:15:57 +00:00
query fix whitespaces in comment (#7853) 2023-03-01 10:20:56 +00:00
schedule Revise docs for system set marker traits (#7882) 2023-03-03 14:43:54 +00:00
storage add len, is_empty, iter method on SparseSets, make SparseSets inspect… (#7638) 2023-02-15 23:52:02 +00:00
system Fix a typo in CombinatorSystem (#7823) 2023-02-26 02:27:41 +00:00
world Fix unsoundnes in insert remove and despawn (#7805) 2023-02-27 08:47:50 +00:00
archetype.rs fix whitespaces in comment (#7853) 2023-03-01 10:20:56 +00:00
bundle.rs Fix unsoundnes in insert remove and despawn (#7805) 2023-02-27 08:47:50 +00:00
change_detection.rs Deprecate ChangeTrackers<T> in favor of Ref<T> (#7306) 2023-02-19 16:19:56 +00:00
component.rs add len, is_empty, iter method on SparseSets, make SparseSets inspect… (#7638) 2023-02-15 23:52:02 +00:00
event.rs Don't log a trace if EventWriter::send_batch is empty (#7753) 2023-02-20 21:51:21 +00:00
lib.rs EntityMut: rename remove_intersection to remove and remove to take (#7810) 2023-02-26 00:09:19 +00:00
reflect.rs EntityMut: rename remove_intersection to remove and remove to take (#7810) 2023-02-26 00:09:19 +00:00
removal_detection.rs Make RemovedComponents mirror EventReaders api surface (#7713) 2023-02-17 00:01:13 +00:00