No need for *full* ufcs since we're passing self

This commit is contained in:
Steven Fackler 2015-11-12 21:18:10 -08:00
parent 6e3deb97f9
commit 75ad0886b5

View File

@ -37,7 +37,7 @@ macro_rules! to_sql_checked {
if !<Self as $crate::types::ToSql>::accepts(ty) {
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)
}
}
}