From 6522e9609b68ce4316fc19440d8b4bb3fc4e430c Mon Sep 17 00:00:00 2001 From: Jannis Pohlmann Date: Fri, 29 Sep 2023 13:28:41 +0200 Subject: [PATCH] fix: resolve clippy errors introduced recently --- service/src/server/routes/status.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/src/server/routes/status.rs b/service/src/server/routes/status.rs index 675b90f3..65a0eba7 100644 --- a/service/src/server/routes/status.rs +++ b/service/src/server/routes/status.rs @@ -67,8 +67,8 @@ pub async fn status_queries( match request.send().await { Ok(r) => match r.json::>().await { Ok(r) => (StatusCode::OK, Json(r)).into_response(), - Err(e) => return bad_request_response(&e.to_string()), + Err(e) => bad_request_response(&e.to_string()), }, - Err(e) => return bad_request_response(&e.to_string()), + Err(e) => bad_request_response(&e.to_string()), } }