diff options
author | HampusM <hampus@hampusmat.com> | 2024-08-21 20:38:41 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-08-21 20:38:41 +0200 |
commit | cff2575a32219d4294ab05d69ad37eb6bd7a7b2d (patch) | |
tree | d2489863f54d9c1508bc8ba5897f264368e11350 /engine/src/util.rs | |
parent | 217c32c11566ddfa09ae5790cf1ad7c9b4100a43 (diff) |
refactor(engine): fix clippy lints
Diffstat (limited to 'engine/src/util.rs')
-rw-r--r-- | engine/src/util.rs | 4 |
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 } } |