@@ -254,7 +254,7 @@ impl From<bool> for Scalar {
254254// FE + FE
255255//////////
256256
257- impl < ' a , ' b > Add < & ' b Scalar > for & ' a Scalar {
257+ impl < ' b > Add < & ' b Scalar > for & Scalar {
258258 type Output = Scalar ;
259259
260260 fn add ( self , other : & ' b Scalar ) -> Scalar {
@@ -268,7 +268,7 @@ std_ops_gen!(Scalar, Add, Scalar, Scalar, add);
268268// FE - FE
269269//////////
270270
271- impl < ' a , ' b > Sub < & ' b Scalar > for & ' a Scalar {
271+ impl < ' b > Sub < & ' b Scalar > for & Scalar {
272272 type Output = Scalar ;
273273
274274 fn sub ( self , other : & ' b Scalar ) -> Scalar {
@@ -282,7 +282,7 @@ std_ops_gen!(Scalar, Sub, Scalar, Scalar, sub);
282282// FE * FE
283283//////////
284284
285- impl < ' a , ' b > Mul < & ' b Scalar > for & ' a Scalar {
285+ impl < ' b > Mul < & ' b Scalar > for & Scalar {
286286 type Output = Scalar ;
287287
288288 fn mul ( self , other : & ' b Scalar ) -> Scalar {
@@ -296,15 +296,15 @@ std_ops_gen!(Scalar, Mul, Scalar, Scalar, mul);
296296// FE * GE
297297//////////
298298
299- impl < ' a , ' b > Mul < & ' b GroupElement > for & ' a Scalar {
299+ impl < ' b > Mul < & ' b GroupElement > for & Scalar {
300300 type Output = GroupElement ;
301301
302302 fn mul ( self , other : & ' b GroupElement ) -> GroupElement {
303303 other * self
304304 }
305305}
306306
307- impl < ' a , ' b > Mul < & ' b Scalar > for & ' a GroupElement {
307+ impl < ' b > Mul < & ' b Scalar > for & GroupElement {
308308 type Output = GroupElement ;
309309
310310 fn mul ( self , other : & ' b Scalar ) -> GroupElement {
@@ -332,7 +332,7 @@ impl<'a> Mul<&'a GroupElement> for u64 {
332332 }
333333}
334334
335- impl < ' a > Mul < u64 > for & ' a GroupElement {
335+ impl Mul < u64 > for & GroupElement {
336336 type Output = GroupElement ;
337337
338338 fn mul ( self , mut other : u64 ) -> GroupElement {
@@ -354,7 +354,7 @@ impl<'a> Mul<u64> for &'a GroupElement {
354354// GE + GE
355355//////////
356356
357- impl < ' a , ' b > Add < & ' b GroupElement > for & ' a GroupElement {
357+ impl < ' b > Add < & ' b GroupElement > for & GroupElement {
358358 type Output = GroupElement ;
359359
360360 fn add ( self , other : & ' b GroupElement ) -> GroupElement {
@@ -368,7 +368,7 @@ std_ops_gen!(GroupElement, Add, GroupElement, GroupElement, add);
368368// GE - GE
369369//////////
370370
371- impl < ' a , ' b > Sub < & ' b GroupElement > for & ' a GroupElement {
371+ impl < ' b > Sub < & ' b GroupElement > for & GroupElement {
372372 type Output = GroupElement ;
373373
374374 fn sub ( self , other : & ' b GroupElement ) -> GroupElement {
0 commit comments