Skip to content

Commit

Permalink
Fix docstring for ArchetypeInvariants.add
Browse files Browse the repository at this point in the history
  • Loading branch information
sixfold-origami committed Jul 2, 2022
1 parent ae4f66f commit 9770862
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions crates/bevy_ecs/src/world/archetype_invariants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,6 @@ pub struct ArchetypeInvariants {

impl ArchetypeInvariants {
/// Adds a new [`ArchetypeInvariant`] to this set of archetype invariants.
///
/// Whenever a new archetype invariant is added, all existing archetypes are re-checked.
/// This may include empty archetypes: archetypes that contain no entities.
#[inline]
pub fn add(&mut self, archetype_invariant: UntypedArchetypeInvariant) {
self.raw_list.push(archetype_invariant);
Expand Down

0 comments on commit 9770862

Please sign in to comment.