From db9dc7b6e696259f488088f74a1e1a97fa5b002d Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 18 Feb 2023 21:11:43 -0500 Subject: bump editions --- .rustfmt.toml | 2 +- Cargo.toml | 2 +- src/bin/rbw-agent/daemon.rs | 2 +- 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 "] -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 { // this case and not error out std::process::exit(23); } - _ => panic!("failed to daemonize: {}", e), + _ => panic!("failed to daemonize: {e}"), } } } -- cgit v1.2.3-54-g00ecf