Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnevadoc committed Dec 22, 2024
1 parent 1deae7c commit fad3549
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/curve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ pub trait CurveExt:
/// distributed elements in the group, given domain prefix `domain_prefix`.
///
/// This method is suitable for use as a random oracle.
#[allow(clippy::type_complexity)]
fn hash_to_curve<'a>(domain_prefix: &'a str) -> Box<dyn Fn(&[u8]) -> Self + 'a>;

/// Returns whether or not this element is on the curve; should
Expand Down

0 comments on commit fad3549

Please sign in to comment.