aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.rustfmt.toml2
-rw-r--r--Cargo.toml2
-rw-r--r--src/bin/rbw-agent/daemon.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/.rustfmt.toml b/.rustfmt.toml
index 55b0b14..7b6182f 100644
--- a/.rustfmt.toml
+++ b/.rustfmt.toml
@@ -1,2 +1,2 @@
-edition = "2018"
+edition = "2021"
max_width = 78
diff --git a/Cargo.toml b/Cargo.toml
index cfe1a33..0d28472 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -2,7 +2,7 @@
name = "rbw"
version = "1.4.3"
authors = ["Jesse Luehrs <doy@tozt.net>"]
-edition = "2018"
+edition = "2021"
description = "Unofficial Bitwarden CLI"
repository = "https://git.tozt.net/rbw"
diff --git a/src/bin/rbw-agent/daemon.rs b/src/bin/rbw-agent/daemon.rs
index 923a217..22862dd 100644
--- a/src/bin/rbw-agent/daemon.rs
+++ b/src/bin/rbw-agent/daemon.rs
@@ -55,7 +55,7 @@ pub fn daemonize() -> anyhow::Result<StartupAck> {
// this case and not error out
std::process::exit(23);
}
- _ => panic!("failed to daemonize: {}", e),
+ _ => panic!("failed to daemonize: {e}"),
}
}
}