diff options
author | qkzk <qu3nt1n@gmail.com> | 2023-09-23 14:52:38 +0200 |
---|---|---|
committer | qkzk <qu3nt1n@gmail.com> | 2023-09-23 14:52:38 +0200 |
commit | fb0b8644dc0532f3d77968bf44c2ba55fb792c26 (patch) | |
tree | 7dd9d7b97b54b926d92a6f32a1993072ba715fb4 | |
parent | e6fca3d40c231861d3cd48df52f32f686c77acb7 (diff) |
simplify confirmation string
-rw-r--r-- | src/mode.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mode.rs b/src/mode.rs index 586fd7d..603dbdf 100644 --- a/src/mode.rs +++ b/src/mode.rs @@ -44,11 +44,12 @@ impl NeedConfirmation { NeedConfirmation::Copy => { format!("Files will be copied to {}", destination) } - NeedConfirmation::Delete => "Files will deleted permanently".to_owned(), + NeedConfirmation::Delete | NeedConfirmation::EmptyTrash => { + "Files will be deleted permanently".to_owned() + } NeedConfirmation::Move => { format!("Files will be moved to {}", destination) } - NeedConfirmation::EmptyTrash => "Trash will be emptied".to_owned(), } } } |