Skip to content

Commit

Permalink
Update crates/bevy_ecs/src/world/entity_ref.rs
Browse files Browse the repository at this point in the history
Co-authored-by: James Liu <contact@jamessliu.com>
  • Loading branch information
Suficio and james7132 authored Feb 4, 2023
1 parent 504aec9 commit cf278f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/world/entity_ref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ unsafe fn insert_dynamic_bundle<
};

// SAFETY: location matches current entity.
bundle_inserter.insert(entity, location, bundle)
unsafe { bundle_inserter.insert(entity, location, bundle) }
}

/// Removes a bundle from the given archetype and returns the resulting archetype (or None if the
Expand Down

0 comments on commit cf278f9

Please sign in to comment.