diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2022-11-04 04:17:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-04 04:17:22 -0400 |
commit | 76c3bc4254328345322361757130b7da6d7d43d3 (patch) | |
tree | 1f026b70a315f09a39a74fa734aa276ffd28bda8 /build.rs | |
parent | d56b551e3965ae28a60180bae97683bb67ca368f (diff) |
refactor: clippy and small cleanup/comments (#865)
* refactor: small cleanup and comments in some code
* clippy
* more clippy
* fixes for macos/freebsd
Diffstat (limited to 'build.rs')
-rw-r--r-- | build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ use std::{ include!("src/clap.rs"); fn create_dir(dir: &Path) -> Result<()> { - let res = fs::create_dir_all(&dir); + let res = fs::create_dir_all(dir); match &res { Ok(()) => {} Err(err) => { |