Skip to content

Commit

Permalink
Fix EccPointQ warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ConstanceBeguier committed Oct 28, 2024
1 parent eafce5f commit ac686ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion halo2_gadgets/src/sinsemilla/chip/hash_to_point.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ use std::ops::Deref;
/// `EccPointQ` can hold either a public or a private ECC Point
/// (this structure is only used in tests)
#[derive(Debug, Clone)]
#[cfg_attr(test, allow(dead_code))]
pub enum EccPointQ<'a> {
#[allow(dead_code)]
PublicPoint(pallas::Affine),
#[allow(dead_code)]
PrivatePoint(&'a NonIdentityEccPoint),
}

Expand Down

0 comments on commit ac686ba

Please sign in to comment.