Put unused type parameter back into use

This commit is contained in:
Christofer Nolander 2019-12-29 23:05:45 +01:00
parent 2093f3e1ee
commit 8a3edc97de

View File

@ -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<u64, Error>
pub async fn execute_raw<'b, I, T>(&self, statement: &T, params: I) -> Result<u64, Error>
where
T: ?Sized + ToStatement,
I: IntoIterator<Item = &'b dyn ToSql>,