Explorar el Código

Remove a return statement based on a clippy recommendation.

Jing Yang hace 4 años
padre
commit
df47c9c3c1
Se han modificado 1 ficheros con 1 adiciones y 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.