summaryrefslogtreecommitdiff
path: root/ecs/src
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-02-22 19:34:21 +0100
committerHampusM <hampus@hampusmat.com>2024-02-22 19:34:41 +0100
commit7e756b8c619bfb35327d13aa4f97e58458369a3f (patch)
treef3f5d14f9f7fea806982dacc2a2907f375bf8670 /ecs/src
parent49574bc5c70765232e3cbdac3f28d6a86586e3cb (diff)
refactor(ecs): remove useless referencing in Local::deref_mut
Diffstat (limited to 'ecs/src')
-rw-r--r--ecs/src/component.rs2
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
}
}