Skip to content

Commit

Permalink
fix latest clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rkusa committed Oct 19, 2023
1 parent 41b6342 commit 2712360
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ fn embed_lua_file_hashes() {
let mut out = File::create(path).unwrap();

for (ident, base_path) in [("DCS_GRPC", "./lua/DCS-gRPC"), ("HOOKS", "./lua/Hooks")] {
writeln!(out, "#[allow(clippy::needless_raw_string_hashes)]").unwrap();
writeln!(out, "const {ident}: &[(&str, u64)] = &[").unwrap();

for entry in WalkDir::new(base_path) {
Expand Down

0 comments on commit 2712360

Please sign in to comment.