chore: address Rust 1.90.0 clippy lints (#9511)

This commit is contained in:
Gaurav Rawat
2025-09-26 00:06:42 +05:30
committed by GitHub
parent 239b6d37c6
commit 198fe07891
16 changed files with 19 additions and 106 deletions

View File

@ -112,7 +112,7 @@ where
fn encode_by_ref(
&self,
buf: &mut PgArgumentBuffer,
) -> Result<sqlx::encode::IsNull, Box<(dyn std::error::Error + Send + Sync + 'static)>> {
) -> Result<sqlx::encode::IsNull, Box<dyn std::error::Error + Send + Sync + 'static>> {
<String as Encode<'q, Postgres>>::encode(self.0.to_string(), buf)
}
fn size_hint(&self) -> usize {