diff --git a/fixed_wide/src/fixed.rs b/fixed_wide/src/fixed.rs index fdda80a..1efe378 100644 --- a/fixed_wide/src/fixed.rs +++ b/fixed_wide/src/fixed.rs @@ -50,7 +50,7 @@ impl std::ops::Neg for Fixed{ macro_rules! impl_operator { ( $struct: ident, $trait: ident, $method: ident, $output: ty ) => { - impl core::ops::$trait<$struct> for $struct{ + impl core::ops::$trait for $struct{ type Output = $output; fn $method(self, other: Self) -> Self::Output { @@ -64,7 +64,7 @@ macro_rules! impl_operator { } macro_rules! impl_assign_operator { ( $struct: ident, $trait: ident, $method: ident ) => { - impl core::ops::$trait<$struct> for $struct{ + impl core::ops::$trait for $struct{ fn $method(&mut self, other: Self) { self.bits.$method(other.bits); }