From e408a351d5ab5c0399d6bf5e890a1a41a62b8545 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Sun, 21 Feb 2021 21:43:11 +0000 Subject: [PATCH] Remove a redundant bool::from. Signed-off-by: Daira Hopwood --- src/pasta/pallas.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pasta/pallas.rs b/src/pasta/pallas.rs index d38d056..06fd9c0 100644 --- a/src/pasta/pallas.rs +++ b/src/pasta/pallas.rs @@ -61,7 +61,7 @@ fn test_iso_map() { let p2 = super::hashtocurve::iso_map::<_, Affine, super::IsoEpAffine>(&r2, &Ep::ISOGENY_CONSTANTS); assert!(bool::from(p2.is_on_curve())); - assert!(bool::from(p2 == p.double())); + assert!(p2 == p.double()); } #[test]