diff --git a/tokio-postgres/src/transaction.rs b/tokio-postgres/src/transaction.rs index c97d5f9f..d543bc89 100644 --- a/tokio-postgres/src/transaction.rs +++ b/tokio-postgres/src/transaction.rs @@ -155,11 +155,7 @@ impl<'a> Transaction<'a> { } /// Like `Client::execute_iter`. - pub async fn execute_raw<'b, I, T>( - &self, - statement: &Statement, - params: I, - ) -> Result + pub async fn execute_raw<'b, I, T>(&self, statement: &T, params: I) -> Result where T: ?Sized + ToStatement, I: IntoIterator,