Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

fmt

Mikayla Maki550aa2d6bdc7
diff --git a/crates/terminal_view/src/terminal_panel.rs b/crates/terminal_view/src/terminal_panel.rs
index 2670226e26a..ad61903a9d8 100644
--- a/crates/terminal_view/src/terminal_panel.rs
+++ b/crates/terminal_view/src/terminal_panel.rs
@@ -225,11 +225,9 @@ impl TerminalPanel {
pane::Event::AddItem { item } => {
if let Some(workspace) = self.workspace.upgrade(cx) {
let pane = self.pane.clone();
- workspace.update(cx, |workspace, cx| {
- item.added_to_pane(workspace,pane, cx)
- })
+ workspace.update(cx, |workspace, cx| item.added_to_pane(workspace, pane, cx))
}
- },
+ }
_ => {}
}