mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 17:47:54 +08:00
chore: address Rust 1.82.0 clippy lints (#6401)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -93,9 +93,9 @@ impl<T: DatabaseStore> PayoutAttemptInterface for KVRouterStore<T> {
|
||||
|
||||
let redis_entry = kv::TypedSql {
|
||||
op: kv::DBOperation::Insert {
|
||||
insertable: kv::Insertable::PayoutAttempt(
|
||||
insertable: Box::new(kv::Insertable::PayoutAttempt(
|
||||
new_payout_attempt.to_storage_model(),
|
||||
),
|
||||
)),
|
||||
},
|
||||
};
|
||||
|
||||
@ -182,12 +182,12 @@ impl<T: DatabaseStore> PayoutAttemptInterface for KVRouterStore<T> {
|
||||
|
||||
let redis_entry = kv::TypedSql {
|
||||
op: kv::DBOperation::Update {
|
||||
updatable: kv::Updateable::PayoutAttemptUpdate(
|
||||
updatable: Box::new(kv::Updateable::PayoutAttemptUpdate(
|
||||
kv::PayoutAttemptUpdateMems {
|
||||
orig: origin_diesel_payout,
|
||||
update_data: diesel_payout_update,
|
||||
},
|
||||
),
|
||||
)),
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@ -130,7 +130,7 @@ impl<T: DatabaseStore> PayoutsInterface for KVRouterStore<T> {
|
||||
|
||||
let redis_entry = kv::TypedSql {
|
||||
op: kv::DBOperation::Insert {
|
||||
insertable: kv::Insertable::Payouts(new.to_storage_model()),
|
||||
insertable: Box::new(kv::Insertable::Payouts(new.to_storage_model())),
|
||||
},
|
||||
};
|
||||
|
||||
@ -201,10 +201,10 @@ impl<T: DatabaseStore> PayoutsInterface for KVRouterStore<T> {
|
||||
|
||||
let redis_entry = kv::TypedSql {
|
||||
op: kv::DBOperation::Update {
|
||||
updatable: kv::Updateable::PayoutsUpdate(kv::PayoutsUpdateMems {
|
||||
updatable: Box::new(kv::Updateable::PayoutsUpdate(kv::PayoutsUpdateMems {
|
||||
orig: origin_diesel_payout,
|
||||
update_data: diesel_payout_update,
|
||||
}),
|
||||
})),
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user