chore: fix clippy lints 2024-12-06 (#10138)

This commit is contained in:
Conrad Ludgate
2024-12-16 15:33:21 +00:00
committed by GitHub
parent c5e3314c6e
commit 6565fd4056
30 changed files with 58 additions and 68 deletions

View File

@@ -11,7 +11,7 @@ mod private {
Query(&'a str),
}
impl<'a> ToStatementType<'a> {
impl ToStatementType<'_> {
pub async fn into_statement(self, client: &Client) -> Result<Statement, Error> {
match self {
ToStatementType::Statement(s) => Ok(s.clone()),