From e7819d258a29eeec0e9255a961fee3b44735afab Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Tue, 22 Jul 2025 16:03:20 +0200 Subject: chore: update to rust 1.88 (#2815) * chore: update to rust 1.88 * clippy + fmt * update ci version * update flake --- crates/atuin-client/src/api_client.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/atuin-client/src/api_client.rs') diff --git a/crates/atuin-client/src/api_client.rs b/crates/atuin-client/src/api_client.rs index c2bdfadc..78f374d6 100644 --- a/crates/atuin-client/src/api_client.rs +++ b/crates/atuin-client/src/api_client.rs @@ -41,7 +41,7 @@ fn make_url(address: &str, path: &str) -> Result { let address = if address.ends_with("/") { address } else { - &format!("{}/", address) + &format!("{address}/") }; // passing a path with a leading `/` will cause `join()` to replace the entire URL path @@ -148,8 +148,8 @@ pub fn ensure_version(response: &Response) -> Result { println!( "Atuin version mismatch! In order to successfully sync, the server needs to run a newer version of Atuin" ); - println!("Client: {}", ATUIN_CARGO_VERSION); - println!("Server: {}", version); + println!("Client: {ATUIN_CARGO_VERSION}"); + println!("Server: {version}"); return Ok(false); } -- cgit v1.3.1