mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 21:07:58 +08:00
chore: address Rust 1.76 clippy lints (#3605)
This commit is contained in:
@ -42,7 +42,7 @@ where
|
||||
let start_instant = Instant::now();
|
||||
logger::info!(tag = ?Tag::BeginRequest, payload = ?payload);
|
||||
|
||||
let res = match metrics::request::record_request_time_metric(
|
||||
let server_wrap_util_res = metrics::request::record_request_time_metric(
|
||||
api::server_wrap_util(
|
||||
&flow,
|
||||
state.clone().into(),
|
||||
@ -58,7 +58,9 @@ where
|
||||
.map(|response| {
|
||||
logger::info!(api_response =? response);
|
||||
response
|
||||
}) {
|
||||
});
|
||||
|
||||
let res = match server_wrap_util_res {
|
||||
Ok(api::ApplicationResponse::Json(response)) => {
|
||||
let response = S::try_from(response);
|
||||
match response {
|
||||
|
||||
Reference in New Issue
Block a user