From 4be1b8685fd94e620b525195ae32459db50dd5a4 Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Sat, 22 Oct 2016 06:21:09 -0700 Subject: [PATCH] Fix inspect message --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } }