Skip to content

Commit

Permalink
chore(ci): remove the usage of allow attributes with "reason"
Browse files Browse the repository at this point in the history
- this is a bandaid fix to be able to publish
  • Loading branch information
IceTDrinker committed Sep 12, 2024
1 parent 6fabe6b commit 3875c97
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions tfhe/src/js_on_wasm_api/js_high_level_api/zk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit 3875c97

Please sign in to comment.