clippy: Allow binary operators in IncompletePoint addition

It's not suspicious, it's constant time! :D
This commit is contained in:
Jack Grigg 2021-04-22 12:08:51 +12:00
parent 09e70cb6e3
commit bdaf9d06cc
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ impl From<IncompletePoint> for CtOption<pallas::Point> {
impl Add for IncompletePoint {
type Output = IncompletePoint;
#[allow(clippy::suspicious_arithmetic_impl)]
fn add(self, rhs: Self) -> Self::Output {
// ⊥ ⊹ ⊥ = ⊥
// ⊥ ⊹ P = ⊥