diff options
Diffstat (limited to 'crates/atuin-client/src/api_client.rs')
| -rw-r--r-- | crates/atuin-client/src/api_client.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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<String> { 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<bool> { 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); } |
