]> code.octet-stream.net Git - hashgood/blobdiff - src/main.rs
Fix up non-test clippy lints
[hashgood] / src / main.rs
index fd965dac05a1576b4f380cf596eff66559db779d..f0fc4744a434fd88cef51210bb95691444842bf5 100644 (file)
@@ -41,11 +41,11 @@ impl Opt {
     fn get_paste(&self) -> bool {
         #[cfg(feature = "paste")]
         {
-            return self.paste;
+            self.paste
         }
         #[cfg(not(feature = "paste"))]
         {
-            return false;
+            false
         }
     }
 }