diff options
author | HampusM <hampus@hampusmat.com> | 2024-02-22 19:34:21 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-02-22 19:34:41 +0100 |
commit | 7e756b8c619bfb35327d13aa4f97e58458369a3f (patch) | |
tree | f3f5d14f9f7fea806982dacc2a2907f375bf8670 /ecs/src/component.rs | |
parent | 49574bc5c70765232e3cbdac3f28d6a86586e3cb (diff) |
refactor(ecs): remove useless referencing in Local::deref_mut
Diffstat (limited to 'ecs/src/component.rs')
-rw-r--r-- | ecs/src/component.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecs/src/component.rs b/ecs/src/component.rs index 0c6168f..bead3b5 100644 --- a/ecs/src/component.rs +++ b/ecs/src/component.rs @@ -141,6 +141,6 @@ impl<'world, Value> DerefMut for Local<'world, Value> { fn deref_mut(&mut self) -> &mut Self::Target { - &mut self.value + self.value } } |