Fix Rust 2018 idiom warning

with `cargo fix --all-features`
This commit is contained in:
Jonas Platte 2019-11-12 01:53:18 +01:00
parent 3b10faad0e
commit 3141f3e9a1
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -15,7 +15,7 @@ macro_rules! diesel_impl {
where
DB: Backend,
{
fn to_sql<W: Write>(&self, out: &mut Output<W, DB>) -> SerializeResult {
fn to_sql<W: Write>(&self, out: &mut Output<'_, W, DB>) -> SerializeResult {
ToSql::<Text, DB>::to_sql(&self.to_string(), out)
}
}