mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-06 20:20:34 +00:00
clippy: Allow single-character names where necessary
This commit is contained in:
parent
b06937103d
commit
c13fc16ead
3 changed files with 2 additions and 1 deletions
|
|
@ -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()
|
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>>(
|
pub fn map_to_curve_simple_swu<F: FieldExt, C: CurveExt<Base = F>, I: CurveExt<Base = F>>(
|
||||||
u: &F,
|
u: &F,
|
||||||
theta: F,
|
theta: F,
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@
|
||||||
clippy::op_ref,
|
clippy::op_ref,
|
||||||
clippy::too_many_arguments,
|
clippy::too_many_arguments,
|
||||||
clippy::suspicious_arithmetic_impl,
|
clippy::suspicious_arithmetic_impl,
|
||||||
clippy::many_single_char_names,
|
|
||||||
clippy::same_item_push,
|
clippy::same_item_push,
|
||||||
clippy::upper_case_acronyms,
|
clippy::upper_case_acronyms,
|
||||||
clippy::unknown_clippy_lints
|
clippy::unknown_clippy_lints
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ pub type Point = Ep;
|
||||||
pub type Affine = EpAffine;
|
pub type Affine = EpAffine;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[allow(clippy::many_single_char_names)]
|
||||||
fn test_iso_map() {
|
fn test_iso_map() {
|
||||||
use crate::arithmetic::CurveExt;
|
use crate::arithmetic::CurveExt;
|
||||||
use group::Group;
|
use group::Group;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue