remove unused lifetime from forward_val_assign
This commit is contained in:
parent
953087fe4e
commit
952dba4e06
|
@ -107,7 +107,7 @@ macro_rules! forward_ref_ref_binop_commutative {
|
||||||
|
|
||||||
macro_rules! forward_val_assign {
|
macro_rules! forward_val_assign {
|
||||||
(impl $imp:ident for $res:ty, $method:ident) => {
|
(impl $imp:ident for $res:ty, $method:ident) => {
|
||||||
impl<'a> $imp<$res> for $res {
|
impl $imp<$res> for $res {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn $method(&mut self, other: $res) {
|
fn $method(&mut self, other: $res) {
|
||||||
self.$method(&other);
|
self.$method(&other);
|
||||||
|
@ -117,7 +117,7 @@ macro_rules! forward_val_assign {
|
||||||
}
|
}
|
||||||
macro_rules! forward_val_assign_scalar {
|
macro_rules! forward_val_assign_scalar {
|
||||||
(impl $imp:ident for $res:ty, $scalar:ty, $method:ident) => {
|
(impl $imp:ident for $res:ty, $scalar:ty, $method:ident) => {
|
||||||
impl<'a> $imp<$res> for $scalar {
|
impl $imp<$res> for $scalar {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn $method(&mut self, other: $res) {
|
fn $method(&mut self, other: $res) {
|
||||||
self.$method(&other);
|
self.$method(&other);
|
||||||
|
|
Loading…
Reference in New Issue