Remove a redundant bool::from.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2021-02-21 21:43:11 +00:00
parent 7dc21f4727
commit e408a351d5
1 changed files with 1 additions and 1 deletions

View File

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