From 952dba4e06bbc5ca9fbfde844b31fce9d2778408 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 19 Sep 2017 17:36:17 -0700 Subject: [PATCH] remove unused lifetime from forward_val_assign --- bigint/src/macros.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bigint/src/macros.rs b/bigint/src/macros.rs index 3324eba..a1615fb 100644 --- a/bigint/src/macros.rs +++ b/bigint/src/macros.rs @@ -107,7 +107,7 @@ macro_rules! forward_ref_ref_binop_commutative { macro_rules! forward_val_assign { (impl $imp:ident for $res:ty, $method:ident) => { - impl<'a> $imp<$res> for $res { + impl $imp<$res> for $res { #[inline] fn $method(&mut self, other: $res) { self.$method(&other); @@ -117,7 +117,7 @@ macro_rules! forward_val_assign { } macro_rules! forward_val_assign_scalar { (impl $imp:ident for $res:ty, $scalar:ty, $method:ident) => { - impl<'a> $imp<$res> for $scalar { + impl $imp<$res> for $scalar { #[inline] fn $method(&mut self, other: $res) { self.$method(&other);