diff options
Diffstat (limited to '')
| -rw-r--r-- | src/command/client/sync.rs | 2 | ||||
| -rw-r--r-- | src/command/client/sync/login.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/command/client/sync.rs b/src/command/client/sync.rs index 51fcbf63..b97a2240 100644 --- a/src/command/client/sync.rs +++ b/src/command/client/sync.rs @@ -41,7 +41,7 @@ impl Cmd { use atuin_client::encryption::{encode_key, load_key}; let key = load_key(&settings).wrap_err("could not load encryption key")?; let encode = encode_key(key).wrap_err("could not encode encryption key")?; - println!("{}", encode); + println!("{encode}"); Ok(()) } } diff --git a/src/command/client/sync/login.rs b/src/command/client/sync/login.rs index 333a1514..038e822b 100644 --- a/src/command/client/sync/login.rs +++ b/src/command/client/sync/login.rs @@ -72,6 +72,6 @@ pub(super) fn read_user_password() -> String { } fn read_user_input(name: &'static str) -> String { - eprint!("Please enter {}: ", name); + eprint!("Please enter {name}: "); get_input().expect("Failed to read from input") } |
