Explorar o código

Remove a return statement based on a clippy recommendation.

Jing Yang %!s(int64=4) %!d(string=hai) anos
pai
achega
df47c9c3c1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/versioned_parker/mod.rs

+ 1 - 1
src/versioned_parker/mod.rs

@@ -95,7 +95,7 @@ impl<T> VersionedParker<T> {
             notify(&self.inner.condvar);
             return true;
         }
-        return false;
+        false
     }
 
     /// Increases the version and notifies one blocked thread.