fix clippy issues (#503)
This commit is contained in:
parent
f3fd9102a3
commit
877e7c3830
|
@ -6,6 +6,7 @@ use frost_ed25519::SigningKey;
|
|||
use helpers::samples;
|
||||
use rand::thread_rng;
|
||||
|
||||
#[allow(clippy::unnecessary_literal_unwrap)]
|
||||
fn check_common_traits_for_type<T: Clone + Eq + PartialEq + std::fmt::Debug>(v: T) {
|
||||
// Make sure can be debug-printed. This also catches if the Debug does not
|
||||
// have an endless recursion (a popular mistake).
|
||||
|
|
|
@ -6,6 +6,7 @@ use frost_ed448::SigningKey;
|
|||
use helpers::samples;
|
||||
use rand::thread_rng;
|
||||
|
||||
#[allow(clippy::unnecessary_literal_unwrap)]
|
||||
fn check_common_traits_for_type<T: Clone + Eq + PartialEq + std::fmt::Debug>(v: T) {
|
||||
// Make sure can be debug-printed. This also catches if the Debug does not
|
||||
// have an endless recursion (a popular mistake).
|
||||
|
|
|
@ -6,6 +6,7 @@ use frost_p256::SigningKey;
|
|||
use helpers::samples;
|
||||
use rand::thread_rng;
|
||||
|
||||
#[allow(clippy::unnecessary_literal_unwrap)]
|
||||
fn check_common_traits_for_type<T: Clone + Eq + PartialEq + std::fmt::Debug>(v: T) {
|
||||
// Make sure can be debug-printed. This also catches if the Debug does not
|
||||
// have an endless recursion (a popular mistake).
|
||||
|
|
|
@ -6,6 +6,7 @@ use frost_ristretto255::SigningKey;
|
|||
use helpers::samples;
|
||||
use rand::thread_rng;
|
||||
|
||||
#[allow(clippy::unnecessary_literal_unwrap)]
|
||||
fn check_common_traits_for_type<T: Clone + Eq + PartialEq + std::fmt::Debug>(v: T) {
|
||||
// Make sure can be debug-printed. This also catches if the Debug does not
|
||||
// have an endless recursion (a popular mistake).
|
||||
|
|
|
@ -6,6 +6,7 @@ use frost_secp256k1::SigningKey;
|
|||
use helpers::samples;
|
||||
use rand::thread_rng;
|
||||
|
||||
#[allow(clippy::unnecessary_literal_unwrap)]
|
||||
fn check_common_traits_for_type<T: Clone + Eq + PartialEq + std::fmt::Debug>(v: T) {
|
||||
// Make sure can be debug-printed. This also catches if the Debug does not
|
||||
// have an endless recursion (a popular mistake).
|
||||
|
|
|
@ -206,7 +206,7 @@ fn main() -> ExitCode {
|
|||
// ristretto255 as the canonical base.
|
||||
|
||||
let original_folder = "frost-ristretto255";
|
||||
let mut original_strings: Vec<String> = vec![
|
||||
let mut original_strings: Vec<String> = [
|
||||
"Ristretto255Sha512",
|
||||
"Ristretto group",
|
||||
"Ristretto",
|
||||
|
|
Loading…
Reference in New Issue