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:
@@ -94,7 +94,7 @@ mod unix {
|
||||
}
|
||||
|
||||
async fn handler(ConnectInfo(info): ConnectInfo<UdsConnectInfo>) -> &'static str {
|
||||
println!("new connection from `{:?}`", info);
|
||||
println!("new connection from `{info:?}`");
|
||||
|
||||
"Hello, World!"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user