mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-29 00:00:18 +02:00
Use inline format args (#2232)
This commit is contained in:
@@ -143,6 +143,6 @@ async fn handle_error(error: BoxError) -> impl IntoResponse {
|
||||
|
||||
(
|
||||
StatusCode::INTERNAL_SERVER_ERROR,
|
||||
Cow::from(format!("Unhandled internal error: {}", error)),
|
||||
Cow::from(format!("Unhandled internal error: {error}")),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user