mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-04 20:03:40 +00:00
curve: mark ValidityCheck trait as allow(dead_code) (#625)
Recent nightlies have started emitting a dead code lint
This commit is contained in:
parent
4ac84dd066
commit
50401ab430
1 changed files with 1 additions and 0 deletions
|
|
@ -409,6 +409,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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue