Skip to content

Commit e1537b0

Browse files
authored
Merge pull request #22 from petrochenkov/master
Don't use types as traits in macros
2 parents 26b3b23 + 21b67d1 commit e1537b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traits.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ pub trait GenType: GenFloat<f32> {}
129129
pub trait GenDType: GenFloat<f64> {}
130130

131131
macro_rules! impl_GenFloat_for_scalar(
132-
($t: ty, $gt: ty) => {
132+
($t: ty, $gt: path) => {
133133
impl_GenNum_for_scalar! { $t }
134134
impl GenFloat<$t> for $t {
135135
fn fma(&self, b: &$t, c: &$t) -> $t {

0 commit comments

Comments
 (0)