mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-20 00:00:11 +02:00
Make clippy happy (#3350)
This commit is contained in:
@@ -45,7 +45,7 @@ async fn handler(State(client): State<Client>, mut req: Request) -> Result<Respo
|
||||
.map(|v| v.as_str())
|
||||
.unwrap_or(path);
|
||||
|
||||
let uri = format!("http://127.0.0.1:3000{}", path_query);
|
||||
let uri = format!("http://127.0.0.1:3000{path_query}");
|
||||
|
||||
*req.uri_mut() = Uri::try_from(uri).unwrap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user