Explorar el Código

replace-return-statement-with-expression

niels hace 2 años
padre
commit
49e7d40de3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/exec.rs

+ 1 - 1
src/exec.rs

@@ -62,7 +62,7 @@ impl Runner {
                             day.input_file_url().as_str(),
                             day.input_file_path(),
                         )?;
-                        return Ok(());
+                        Ok(())
                     }
                     Some(false) | None => Ok(())
                 };