mirror of
https://github.com/actix/examples
synced 2025-06-26 09:17:41 +02:00
Use captured args in format string (#558)
This commit is contained in:
@ -59,7 +59,7 @@ async fn main() -> std::io::Result<()> {
|
||||
.next()
|
||||
.expect("given forwarding address was not valid");
|
||||
|
||||
let forward_url = format!("http://{}", forward_socket_addr);
|
||||
let forward_url = format!("http://{forward_socket_addr}");
|
||||
let forward_url = Url::parse(&forward_url).unwrap();
|
||||
|
||||
log::info!(
|
||||
|
Reference in New Issue
Block a user