aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-client/src/api_client.rs
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@atuin.sh>2025-07-22 16:03:20 +0200
committerGitHub <noreply@github.com>2025-07-22 16:03:20 +0200
commite7819d258a29eeec0e9255a961fee3b44735afab (patch)
treee76946f1906d29e999485f3b2bd424fc7375037f /crates/atuin-client/src/api_client.rs
parentUpdate indicatif to 0.18.0 (#2833) (diff)
downloadatuin-e7819d258a29eeec0e9255a961fee3b44735afab.zip
chore: update to rust 1.88 (#2815)
* chore: update to rust 1.88 * clippy + fmt * update ci version * update flake
Diffstat (limited to 'crates/atuin-client/src/api_client.rs')
-rw-r--r--crates/atuin-client/src/api_client.rs6
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);
}