cleanup warning from rust 1.38

This commit is contained in:
bunnie 2024-05-07 17:07:36 +08:00
parent 44658adb47
commit 1523fb6b83

View file

@ -388,6 +388,7 @@ pub trait VartimePrecomputedMultiscalarMul: Sized {
/// This trait is only for debugging/testing, since it should be
/// impossible for a `curve25519-dalek` user to construct an invalid
/// point.
#[allow(dead_code)]
pub(crate) trait ValidityCheck {
/// Checks whether the point is on the curve. Not CT.
fn is_valid(&self) -> bool;