From fccdaa1ddcac3a468fda9c4be8d1daf298574dea Mon Sep 17 00:00:00 2001 From: Thomas Coratger Date: Fri, 8 Mar 2024 11:37:38 +0100 Subject: [PATCH] clean up --- starknet-curve/src/ec_point.rs | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/starknet-curve/src/ec_point.rs b/starknet-curve/src/ec_point.rs index 183fb2ca..93fec56f 100644 --- a/starknet-curve/src/ec_point.rs +++ b/starknet-curve/src/ec_point.rs @@ -280,23 +280,6 @@ impl ops::AddAssign<&ProjectivePoint> for ProjectivePoint { } } -// impl ops::Mul<&[bool]> for &ProjectivePoint { -// type Output = ProjectivePoint; - -// #[allow(clippy::suspicious_arithmetic_impl)] -// fn mul(self, rhs: &[bool]) -> Self::Output { -// let mut product = ProjectivePoint::identity(); -// for b in rhs.iter().rev() { -// product.double_assign(); -// if *b { -// product += self; -// } -// } - -// product -// } -// } - impl ops::Mul<&BitArray<[u64; 4]>> for &ProjectivePoint { type Output = ProjectivePoint;