Ver Fonte

Remove a return statement based on a clippy recommendation.

Jing Yang há 4 anos atrás
pai
commit
df47c9c3c1
1 ficheiros alterados com 1 adições e 1 exclusões
  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.