Skip to content

Commit 45d17a9

Browse files
authored
Merge pull request sfackler#536 from nolanderc/unused-generic
Put unused type parameter back into use
2 parents 2093f3e + 8a3edc9 commit 45d17a9

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tokio-postgres/src/transaction.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,7 @@ impl<'a> Transaction<'a> {
155155
}
156156

157157
/// Like `Client::execute_iter`.
158-
pub async fn execute_raw<'b, I, T>(
159-
&self,
160-
statement: &Statement,
161-
params: I,
162-
) -> Result<u64, Error>
158+
pub async fn execute_raw<'b, I, T>(&self, statement: &T, params: I) -> Result<u64, Error>
163159
where
164160
T: ?Sized + ToStatement,
165161
I: IntoIterator<Item = &'b dyn ToSql>,

0 commit comments

Comments
 (0)