clippy: Allow single-character names where necessary

This commit is contained in:
Jack Grigg 2021-03-03 21:07:31 +00:00
parent b06937103d
commit c13fc16ead
3 changed files with 2 additions and 1 deletions

View file

@ -99,6 +99,7 @@ pub fn iso_map<F: FieldExt, C: CurveExt<Base = F>, I: CurveExt<Base = F>>(
C::new_jacobian(xo, yo, zo).unwrap()
}
#[allow(clippy::many_single_char_names)]
pub fn map_to_curve_simple_swu<F: FieldExt, C: CurveExt<Base = F>, I: CurveExt<Base = F>>(
u: &F,
theta: F,

View file

@ -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

View file

@ -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;