Fixed typo.

This commit is contained in:
Alexey Zinchenko 2021-01-31 02:18:17 +03:00
parent 047d04134a
commit 9f5271c613

View File

@ -111,7 +111,7 @@ impl Shredder {
} }
fn user_prompt(path: &str) -> bool { fn user_prompt(path: &str) -> bool {
print!("Do you really want to shred '{}'? [Y/n] ", absolute_path); print!("Do you really want to shred '{}'? [Y/n] ", path);
io::stdout().flush().unwrap(); io::stdout().flush().unwrap();
let mut input = String::new(); let mut input = String::new();