No need for *full* ufcs since we're passing self
This commit is contained in:
parent
6e3deb97f9
commit
75ad0886b5
@ -37,7 +37,7 @@ macro_rules! to_sql_checked {
|
|||||||
if !<Self as $crate::types::ToSql>::accepts(ty) {
|
if !<Self as $crate::types::ToSql>::accepts(ty) {
|
||||||
return Err($crate::error::Error::WrongType(ty.clone()));
|
return Err($crate::error::Error::WrongType(ty.clone()));
|
||||||
}
|
}
|
||||||
<Self as $crate::types::ToSql>::to_sql(self, ty, out, ctx)
|
$crate::types::ToSql::to_sql(self, ty, out, ctx)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user