diff --git a/src/traits.rs b/src/traits.rs index 9369cc5d..63bb10aa 100644 --- a/src/traits.rs +++ b/src/traits.rs @@ -129,7 +129,7 @@ pub trait GenType: GenFloat {} pub trait GenDType: GenFloat {} macro_rules! impl_GenFloat_for_scalar( - ($t: ty, $gt: ty) => { + ($t: ty, $gt: path) => { impl_GenNum_for_scalar! { $t } impl GenFloat<$t> for $t { fn fma(&self, b: &$t, c: &$t) -> $t {