mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-23 00:00:15 +02:00
Make clippy happy (#3350)
This commit is contained in:
@@ -59,7 +59,7 @@ mod unix {
|
||||
let (mut sender, conn) = hyper::client::conn::http1::handshake(stream).await.unwrap();
|
||||
tokio::task::spawn(async move {
|
||||
if let Err(err) = conn.await {
|
||||
println!("Connection failed: {:?}", err);
|
||||
println!("Connection failed: {err:?}");
|
||||
}
|
||||
});
|
||||
|
||||
@@ -79,7 +79,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