summaryrefslogtreecommitdiffstats
path: root/build.rs
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2022-11-04 04:17:22 -0400
committerGitHub <noreply@github.com>2022-11-04 04:17:22 -0400
commit76c3bc4254328345322361757130b7da6d7d43d3 (patch)
tree1f026b70a315f09a39a74fa734aa276ffd28bda8 /build.rs
parentd56b551e3965ae28a60180bae97683bb67ca368f (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.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.rs b/build.rs
index cb7d380d..fd8ce637 100644
--- a/build.rs
+++ b/build.rs
@@ -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) => {