From 7e756b8c619bfb35327d13aa4f97e58458369a3f Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 22 Feb 2024 19:34:21 +0100 Subject: refactor(ecs): remove useless referencing in Local::deref_mut --- ecs/src/component.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ecs/src/component.rs') 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 } } -- cgit v1.2.3-18-g5258