Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
workspace: Remove excess clone (#30226)
tidelye8b67872ed3a
diff --git a/crates/workspace/src/workspace.rs b/crates/workspace/src/workspace.rsindex 28348f066d3..de65f3f3a1c 100644--- a/crates/workspace/src/workspace.rs+++ b/crates/workspace/src/workspace.rs@@ -5359,7 +5359,7 @@ impl Workspace {self.workspace_actions.push(Box::new(move |div, _, cx| {let callback = callback.clone();div.on_action(cx.listener(move |workspace, event, window, cx| {- (callback.clone())(workspace, event, window, cx)+ (callback)(workspace, event, window, cx)}))}));self