From 2712360aab8bc7d83fec04809932ade36629fb8f Mon Sep 17 00:00:00 2001 From: Markus Ast Date: Thu, 19 Oct 2023 09:27:01 +0200 Subject: [PATCH] fix latest clippy warnings --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index bdc0e363..cdfba03d 100644 --- a/build.rs +++ b/build.rs @@ -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) {