Skip to content

Commit

Permalink
More clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
urschrei committed Mar 17, 2023
1 parent a665ac0 commit 9fafc02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fn write_headers() {
let crate_dir = env::var("CARGO_MANIFEST_DIR").unwrap();
let config = cbindgen::Config::from_file("cbindgen.toml").unwrap();

cbindgen::generate_with_config(&crate_dir, config)
cbindgen::generate_with_config(crate_dir, config)
.expect("Unable to generate bindings")
.write_to_file("include/header.h");
}
Expand Down

0 comments on commit 9fafc02

Please sign in to comment.