diff --git a/radicle-httpd/src/api/axum_extra.rs b/radicle-httpd/src/api/axum_extra.rs index 0e1b13869..79a23e137 100644 --- a/radicle-httpd/src/api/axum_extra.rs +++ b/radicle-httpd/src/api/axum_extra.rs @@ -39,7 +39,7 @@ where } _ => Json(Error { success: false, - error: format!("{}", rejection), + error: format!("{rejection}"), }), }; @@ -72,7 +72,7 @@ where }), _ => Json(Error { success: false, - error: format!("{}", rejection), + error: format!("{rejection}"), }), }; diff --git a/radicle-httpd/src/lib.rs b/radicle-httpd/src/lib.rs index fe5bd696f..4674b0112 100644 --- a/radicle-httpd/src/lib.rs +++ b/radicle-httpd/src/lib.rs @@ -254,7 +254,7 @@ async fn git_http_backend( Err(Error::Backend) } Err(err) => { - panic!("failed to wait for git-http-backend: {}", err); + panic!("failed to wait for git-http-backend: {err}"); } } }