diff options
author | HampusM <hampus@hampusmat.com> | 2024-04-06 14:17:30 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-04-06 14:17:30 +0200 |
commit | 97f973d685baf389dcde08044dd3dfb7ba556050 (patch) | |
tree | 63e67bf212aabd653b5344fd773212e11afd4ae9 /ecs/src/actions.rs | |
parent | 407612918489bfa642e2d653edbb54272b3f00f5 (diff) |
refactor(ecs): fix Clippy lints
Diffstat (limited to 'ecs/src/actions.rs')
-rw-r--r-- | ecs/src/actions.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ecs/src/actions.rs b/ecs/src/actions.rs index c58b06b..ea4837a 100644 --- a/ecs/src/actions.rs +++ b/ecs/src/actions.rs @@ -15,6 +15,9 @@ pub struct Actions<'world> impl<'world> Actions<'world> { /// Adds a spawning a new entity to the action queue. + /// + /// # Panics + /// Will panic if a mutable internal lock cannot be acquired. pub fn spawn<Comps: ComponentSequence>(&mut self, components: Comps) { self.world_data |