Make clippy happy (#3350)

This commit is contained in:
Jonas Platte
2025-05-13 09:58:45 +02:00
committed by GitHub
parent 07f29f6c5c
commit d72a0f962a
8 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -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!"
}