summaryrefslogtreecommitdiff
path: root/engine/src/util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'engine/src/util.rs')
-rw-r--r--engine/src/util.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/src/util.rs b/engine/src/util.rs
index 8e93982..a505a38 100644
--- a/engine/src/util.rs
+++ b/engine/src/util.rs
@@ -119,7 +119,7 @@ impl<Value> Deref for NeverDrop<Value>
fn deref(&self) -> &Self::Target
{
- &*self.value
+ &self.value
}
}
@@ -127,6 +127,6 @@ impl<Value> DerefMut for NeverDrop<Value>
{
fn deref_mut(&mut self) -> &mut Self::Target
{
- &mut *self.value
+ &mut self.value
}
}