소스 검색

replace-return-statement-with-expression

niels 2 년 전
부모
커밋
49e7d40de3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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(())
                 };