mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-25 00:00:23 +02:00
Use inline format args (#2232)
This commit is contained in:
@@ -109,7 +109,7 @@ where
|
||||
},
|
||||
|
||||
_ => PathError {
|
||||
message: format!("Unhandled deserialization error: {}", kind),
|
||||
message: format!("Unhandled deserialization error: {kind}"),
|
||||
location: None,
|
||||
},
|
||||
};
|
||||
@@ -126,7 +126,7 @@ where
|
||||
_ => (
|
||||
StatusCode::INTERNAL_SERVER_ERROR,
|
||||
PathError {
|
||||
message: format!("Unhandled path rejection: {}", rejection),
|
||||
message: format!("Unhandled path rejection: {rejection}"),
|
||||
location: None,
|
||||
},
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user