misc clippy fixes

the trivial ones ;)

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler committed 2022-02-08 14:57:16 +01:00
1 parent bb9e503964
commit dcf5a0f62d
32 files changed
+74 -84

No files matched your search

+1 -1
View File
@@ -349,7 +349,7 @@ pub fn get_encryption_key_password() -> Result<Vec<u8>, Error> {
// If we're on a TTY, query the user for a password
if tty::stdin_isatty() {
return Ok(tty::read_password("Encryption Key Password: ")?);
return tty::read_password("Encryption Key Password: ");
}
bail!("no password input mechanism available");