Selaa lähdekoodia

replace-return-statement-with-expression

niels 2 vuotta sitten
vanhempi
commit
49e7d40de3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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(())
                 };