Skip to content

Commit

Permalink
build.rs: Fix warning: clippy::needless_borrow
Browse files Browse the repository at this point in the history
  • Loading branch information
James2022-rgb committed Apr 23, 2023
1 parent 50aee98 commit d14dd72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ mod builder {
let install_dir = "install";
let install_dir_path = build_dir_path.join(install_dir);
let mapped_install_dir_path = mapped_build_dir_path.join(install_dir);
std::fs::create_dir_all(&mapped_install_dir_path).unwrap();
std::fs::create_dir_all(mapped_install_dir_path).unwrap();

// Configure.
match target_os {
Expand Down

0 comments on commit d14dd72

Please sign in to comment.