mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
chore: address Rust 1.78 clippy lints (#4545)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -52,7 +52,7 @@ where
|
||||
S: FromSql<T, DB>,
|
||||
I: Strategy<S>,
|
||||
{
|
||||
fn from_sql(bytes: DB::RawValue<'_>) -> diesel::deserialize::Result<Self> {
|
||||
fn from_sql(bytes: DB::RawValue<'_>) -> deserialize::Result<Self> {
|
||||
S::from_sql(bytes).map(|raw| raw.into())
|
||||
}
|
||||
}
|
||||
@ -122,7 +122,7 @@ where
|
||||
S: FromSql<T, DB> + ZeroizableSecret,
|
||||
I: Strategy<S>,
|
||||
{
|
||||
fn from_sql(bytes: DB::RawValue<'_>) -> diesel::deserialize::Result<Self> {
|
||||
fn from_sql(bytes: DB::RawValue<'_>) -> deserialize::Result<Self> {
|
||||
S::from_sql(bytes).map(|raw| raw.into())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user