From c13fc16ead2e7654b326bf64f64073b92a9549c4 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Wed, 3 Mar 2021 21:07:31 +0000 Subject: [PATCH] clippy: Allow single-character names where necessary --- src/hashtocurve.rs | 1 + src/lib.rs | 1 - src/pallas.rs | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hashtocurve.rs b/src/hashtocurve.rs index 3fae7b8..387a2ae 100644 --- a/src/hashtocurve.rs +++ b/src/hashtocurve.rs @@ -99,6 +99,7 @@ pub fn iso_map, I: CurveExt>( C::new_jacobian(xo, yo, zo).unwrap() } +#[allow(clippy::many_single_char_names)] pub fn map_to_curve_simple_swu, I: CurveExt>( u: &F, theta: F, diff --git a/src/lib.rs b/src/lib.rs index 9c95465..71cdf03 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,7 +6,6 @@ clippy::op_ref, clippy::too_many_arguments, clippy::suspicious_arithmetic_impl, - clippy::many_single_char_names, clippy::same_item_push, clippy::upper_case_acronyms, clippy::unknown_clippy_lints diff --git a/src/pallas.rs b/src/pallas.rs index d52b757..e364405 100644 --- a/src/pallas.rs +++ b/src/pallas.rs @@ -15,6 +15,7 @@ pub type Point = Ep; pub type Affine = EpAffine; #[test] +#[allow(clippy::many_single_char_names)] fn test_iso_map() { use crate::arithmetic::CurveExt; use group::Group;