From 3875c975748aaab5e09633dacc7f8d85934e46c3 Mon Sep 17 00:00:00 2001 From: Arthur Meyre Date: Wed, 11 Sep 2024 18:33:43 +0200 Subject: [PATCH] chore(ci): remove the usage of allow attributes with "reason" - this is a bandaid fix to be able to publish --- tfhe/src/js_on_wasm_api/js_high_level_api/zk.rs | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/tfhe/src/js_on_wasm_api/js_high_level_api/zk.rs b/tfhe/src/js_on_wasm_api/js_high_level_api/zk.rs index 1de4b6ae8f..c18f8950dc 100644 --- a/tfhe/src/js_on_wasm_api/js_high_level_api/zk.rs +++ b/tfhe/src/js_on_wasm_api/js_high_level_api/zk.rs @@ -26,10 +26,8 @@ pub struct CompactPkeCrs(pub(crate) crate::core_crypto::entities::CompactPkeCrs) #[wasm_bindgen] pub struct CompactPkePublicParams(pub(crate) crate::zk::CompactPkePublicParams); -#[allow( - clippy::use_self, - reason = "wasm bindgen is fragile and prefers the actual type vs. Self" -)] +// "wasm bindgen is fragile and prefers the actual type vs. Self" +#[allow(clippy::use_self)] #[wasm_bindgen] impl CompactPkePublicParams { #[wasm_bindgen] @@ -76,10 +74,8 @@ impl CompactPkePublicParams { } } -#[allow( - clippy::use_self, - reason = "wasm bindgen is fragile and prefers the actual type vs. Self" -)] +// "wasm bindgen is fragile and prefers the actual type vs. Self" +#[allow(clippy::use_self)] #[wasm_bindgen] impl CompactPkeCrs { #[wasm_bindgen]