From 550aa2d6bdc71123b6352355a42055ad265906fd Mon Sep 17 00:00:00 2001 From: Mikayla Maki Date: Tue, 11 Jul 2023 12:17:50 -0700 Subject: [PATCH] fmt --- crates/terminal_view/src/terminal_panel.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/terminal_view/src/terminal_panel.rs b/crates/terminal_view/src/terminal_panel.rs index 2670226e26..ad61903a9d 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)) } - }, + } _ => {} }