mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-04 20:03:39 +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()
|
||||
}
|
||||
|
||||
#[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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue