Skip to content

Commit

Permalink
fix silly clippy warning
Browse files Browse the repository at this point in the history
Signed-off-by: Kent Overstreet <[email protected]>
  • Loading branch information
Kent Overstreet committed Jul 15, 2024
1 parent 7ebd67e commit 2d60567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ impl Passphrase {
let mut line = Zeroizing::new(String::new());
let res = stdin().read_line(&mut line);
termios::tcsetattr(stdin(), termios::OptionalActions::Flush, &old)?;
eprintln!("");
eprintln!();
res?;

Ok(Self(CString::new(line.trim_end_matches('\n'))?))
Expand Down

0 comments on commit 2d60567

Please sign in to comment.