summaryrefslogtreecommitdiff
path: root/ecs/src/actions.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-08-21 20:18:37 +0200
committerHampusM <hampus@hampusmat.com>2024-08-21 20:18:37 +0200
commit58f29444ac234c285ce0e3a729ade2b52a303f58 (patch)
tree03bb210d62bf98acc1ee30ce9df1344d8239f7c6 /ecs/src/actions.rs
parentc3c96f2d7b63d1d7e55f5a9a85da85444089c2a2 (diff)
refactor(ecs): fix clippy lints
Diffstat (limited to 'ecs/src/actions.rs')
-rw-r--r--ecs/src/actions.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecs/src/actions.rs b/ecs/src/actions.rs
index 32fcfb9..5cd7b00 100644
--- a/ecs/src/actions.rs
+++ b/ecs/src/actions.rs
@@ -66,7 +66,7 @@ impl<'world> Actions<'world>
fn new(action_queue: &'world Arc<ActionQueue>) -> Self
{
Self {
- action_queue: &*action_queue,
+ action_queue,
action_queue_weak: Arc::downgrade(action_queue),
}
}