Merge pull request #536 from nolanderc/unused-generic

Put unused type parameter back into use
This commit is contained in:
Steven Fackler 2019-12-29 14:16:11 -08:00 committed by GitHub
commit 45d17a974d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>,