From 8f06428f43dc809954057242e86f92138d86dd1a Mon Sep 17 00:00:00 2001 From: David Nevado Date: Mon, 22 Jul 2024 20:09:52 +0200 Subject: [PATCH] fix: add must_use --- src/ff_ext/cubic.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ff_ext/cubic.rs b/src/ff_ext/cubic.rs index c8e90808..95b7a8c6 100644 --- a/src/ff_ext/cubic.rs +++ b/src/ff_ext/cubic.rs @@ -10,6 +10,7 @@ pub struct CubicExtField { pub trait CubicSparseMul { type Base: ExtField; + #[must_use] fn mul_by_1(lhs: &CubicExtField, c1: &Self::Base) -> CubicExtField { let b_b = lhs.c1 * c1; @@ -24,6 +25,7 @@ pub trait CubicSparseMul { } } + #[must_use] fn mul_by_01( lhs: &CubicExtField, c0: &Self::Base,