Browse Source

Removed un-needed clone on lock_timeout

Because it's a Primative, it doesn't need to be cloned.
Apollo 4 months ago
parent
commit
fb7135e0cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/shared.rs

+ 1 - 1
src/shared.rs

@@ -12,7 +12,7 @@ impl<T> Clone for Shared<T> {
     fn clone(&self) -> Self {
         Self {
             data: self.data.clone(),
-            lock_timeout: self.lock_timeout.clone(),
+            lock_timeout: self.lock_timeout,
         }
     }
 }