remove unused lifetime from forward_val_assign

This commit is contained in:
Josh Stone 2017-09-19 17:36:17 -07:00
parent 953087fe4e
commit 952dba4e06
1 changed files with 2 additions and 2 deletions

View File

@ -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);