Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsBenyaamin committed Dec 19, 2022
1 parent 6fb03c0 commit fcc0dad
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,8 @@ impl PassMng {
}

fn main() -> Result<(), Box<dyn Error>> {
let password = rpassword::prompt_password("Enter passphrase: ").unwrap();
println!("passphrase: {}", password);
let mut state = PassMng::new(password);
let passphrase = rpassword::prompt_password("Enter Passphrase: ").unwrap();
let mut state = PassMng::new(passphrase);
enable_raw_mode()?;
execute!(
std::io::stdout(),
Expand Down

0 comments on commit fcc0dad

Please sign in to comment.