Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Remove unnecessary variable redeclaration (#44074)
Joseph T. Lyonsbf878e9a953f
diff --git a/crates/git_ui/src/git_panel.rs b/crates/git_ui/src/git_panel.rsindex bd17788506f..1c9b817be25 100644--- a/crates/git_ui/src/git_panel.rs+++ b/crates/git_ui/src/git_panel.rs@@ -4014,7 +4014,7 @@ impl GitPanel {context_menu.action("Add to .gitignore", git::AddToGitignore.boxed_clone())}- let mut context_menu = context_menu+ context_menu = context_menu.separator().action("Open Diff", Confirm.boxed_clone()).action("Open File", SecondaryConfirm.boxed_clone());