Skip to content

Commit

Permalink
🎨 Clippy.
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGariepy committed May 4, 2022
1 parent 98d2646 commit a23f765
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cornucopia_client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ impl GenericClient for Transaction<'_> {
I: IntoIterator<Item = P>,
I::IntoIter: ExactSizeIterator,
{
PgTransaction::query_raw(&self, statement, params).await
PgTransaction::query_raw(self, statement, params).await
}
}

Expand Down Expand Up @@ -163,7 +163,7 @@ impl GenericClient for PgTransaction<'_> {
I: IntoIterator<Item = P>,
I::IntoIter: ExactSizeIterator,
{
PgTransaction::query_raw(&self, statement, params).await
PgTransaction::query_raw(self, statement, params).await
}
}

Expand Down Expand Up @@ -224,7 +224,7 @@ impl GenericClient for Client {
I: IntoIterator<Item = P>,
I::IntoIter: ExactSizeIterator,
{
PgClient::query_raw(&self, statement, params).await
PgClient::query_raw(self, statement, params).await
}
}

Expand Down Expand Up @@ -285,6 +285,6 @@ impl GenericClient for PgClient {
I: IntoIterator<Item = P>,
I::IntoIter: ExactSizeIterator,
{
PgClient::query_raw(&self, statement, params).await
PgClient::query_raw(self, statement, params).await
}
}

0 comments on commit a23f765

Please sign in to comment.