diff --git a/src/main.rs b/src/main.rs index be87d79..faff6c0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -187,8 +187,7 @@ Send files to the graveyard (/tmp/.graveyard) instead of unlinking them.") println!("> {}", line); } } - if !prompt_yes(["Send {} to the graveyard?", target] - .concat().as_str()) { + if !prompt_yes(&format!("Send {} to the graveyard?", target)) { continue; } }