From 1a36c6419d80cdd506b0b7654a0219568063a8c6 Mon Sep 17 00:00:00 2001 From: "baoyachi. Aka Rust Hairy crabs" Date: Sat, 7 Oct 2023 18:10:50 +0800 Subject: [PATCH] Update lib.rs --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index b17756f..0e34418 100755 --- a/src/lib.rs +++ b/src/lib.rs @@ -443,7 +443,7 @@ impl Shadow { let define = match val.t { ConstType::OptStr => format!( "#[allow(dead_code)]\n\ - #[allow(clippy::needless_raw_string_hashes)]\n\ + #[allow(clippy::all)]\n\ pub const {} :{} = r#\"{}\"#;", shadow_const.to_ascii_uppercase(), ConstType::Str.to_string(), @@ -451,7 +451,7 @@ impl Shadow { ), ConstType::Str => format!( "#[allow(dead_code)]\n\ - #[allow(clippy::needless_raw_string_hashes)]\n\ + #[allow(clippy::all)]\n\ pub const {} :{} = r#\"{}\"#;", shadow_const.to_ascii_uppercase(), ConstType::Str.to_string(),