@@ -254,7 +254,7 @@ impl From<bool> for Scalar {
254
254
// FE + FE
255
255
//////////
256
256
257
- impl < ' a , ' b > Add < & ' b Scalar > for & ' a Scalar {
257
+ impl < ' b > Add < & ' b Scalar > for & Scalar {
258
258
type Output = Scalar ;
259
259
260
260
fn add ( self , other : & ' b Scalar ) -> Scalar {
@@ -268,7 +268,7 @@ std_ops_gen!(Scalar, Add, Scalar, Scalar, add);
268
268
// FE - FE
269
269
//////////
270
270
271
- impl < ' a , ' b > Sub < & ' b Scalar > for & ' a Scalar {
271
+ impl < ' b > Sub < & ' b Scalar > for & Scalar {
272
272
type Output = Scalar ;
273
273
274
274
fn sub ( self , other : & ' b Scalar ) -> Scalar {
@@ -282,7 +282,7 @@ std_ops_gen!(Scalar, Sub, Scalar, Scalar, sub);
282
282
// FE * FE
283
283
//////////
284
284
285
- impl < ' a , ' b > Mul < & ' b Scalar > for & ' a Scalar {
285
+ impl < ' b > Mul < & ' b Scalar > for & Scalar {
286
286
type Output = Scalar ;
287
287
288
288
fn mul ( self , other : & ' b Scalar ) -> Scalar {
@@ -296,15 +296,15 @@ std_ops_gen!(Scalar, Mul, Scalar, Scalar, mul);
296
296
// FE * GE
297
297
//////////
298
298
299
- impl < ' a , ' b > Mul < & ' b GroupElement > for & ' a Scalar {
299
+ impl < ' b > Mul < & ' b GroupElement > for & Scalar {
300
300
type Output = GroupElement ;
301
301
302
302
fn mul ( self , other : & ' b GroupElement ) -> GroupElement {
303
303
other * self
304
304
}
305
305
}
306
306
307
- impl < ' a , ' b > Mul < & ' b Scalar > for & ' a GroupElement {
307
+ impl < ' b > Mul < & ' b Scalar > for & GroupElement {
308
308
type Output = GroupElement ;
309
309
310
310
fn mul ( self , other : & ' b Scalar ) -> GroupElement {
@@ -332,7 +332,7 @@ impl<'a> Mul<&'a GroupElement> for u64 {
332
332
}
333
333
}
334
334
335
- impl < ' a > Mul < u64 > for & ' a GroupElement {
335
+ impl Mul < u64 > for & GroupElement {
336
336
type Output = GroupElement ;
337
337
338
338
fn mul ( self , mut other : u64 ) -> GroupElement {
@@ -354,7 +354,7 @@ impl<'a> Mul<u64> for &'a GroupElement {
354
354
// GE + GE
355
355
//////////
356
356
357
- impl < ' a , ' b > Add < & ' b GroupElement > for & ' a GroupElement {
357
+ impl < ' b > Add < & ' b GroupElement > for & GroupElement {
358
358
type Output = GroupElement ;
359
359
360
360
fn add ( self , other : & ' b GroupElement ) -> GroupElement {
@@ -368,7 +368,7 @@ std_ops_gen!(GroupElement, Add, GroupElement, GroupElement, add);
368
368
// GE - GE
369
369
//////////
370
370
371
- impl < ' a , ' b > Sub < & ' b GroupElement > for & ' a GroupElement {
371
+ impl < ' b > Sub < & ' b GroupElement > for & GroupElement {
372
372
type Output = GroupElement ;
373
373
374
374
fn sub ( self , other : & ' b GroupElement ) -> GroupElement {
0 commit comments