From 6d49fdb70e1be87b9c1fd4aa078c4e3421f3a46d Mon Sep 17 00:00:00 2001 From: Lucas Trzesniewski Date: Mon, 4 Aug 2025 14:39:12 +0200 Subject: fix: clippy issues on Windows (#2856) --- crates/atuin-daemon/src/client.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'crates/atuin-daemon/src/client.rs') diff --git a/crates/atuin-daemon/src/client.rs b/crates/atuin-daemon/src/client.rs index 72272c01..a4b4690e 100644 --- a/crates/atuin-daemon/src/client.rs +++ b/crates/atuin-daemon/src/client.rs @@ -49,7 +49,7 @@ impl HistoryClient { pub async fn new(port: u64) -> Result { let channel = Endpoint::try_from("http://atuin_local_daemon:0")? .connect_with_connector(service_fn(move |_: Uri| { - let url = format!("127.0.0.1:{}", port); + let url = format!("127.0.0.1:{port}"); async move { Ok::<_, std::io::Error>(TokioIo::new(TcpStream::connect(url.clone()).await?)) @@ -58,8 +58,7 @@ impl HistoryClient { .await .wrap_err_with(|| { format!( - "failed to connect to local atuin daemon at 127.0.0.1:{}. Is it running?", - port + "failed to connect to local atuin daemon at 127.0.0.1:{port}. Is it running?" ) })?; -- cgit v1.3.1