diff --git a/crates/project_panel/src/project_panel.rs b/crates/project_panel/src/project_panel.rs index dd9750759e..bb7bfa19ec 100644 --- a/crates/project_panel/src/project_panel.rs +++ b/crates/project_panel/src/project_panel.rs @@ -905,9 +905,9 @@ impl ProjectPanel { let answer = (!skip_prompt).then(|| { cx.prompt( PromptLevel::Destructive, - &format!("{operation:?} {file_name:?}?",), + &format!("{operation} {file_name:?}?",), None, - &["Delete", "Cancel"], + &[operation, "Cancel"], ) });