From 87bdddf43156cc09840de2396fc975626badaf2f Mon Sep 17 00:00:00 2001 From: Aram Drevekenin Date: Thu, 24 Oct 2024 13:32:18 +0200 Subject: [PATCH] style(fmt): rustfmt --- zellij-utils/src/input/actions.rs | 2 +- zellij-utils/src/input/layout.rs | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/zellij-utils/src/input/actions.rs b/zellij-utils/src/input/actions.rs index b517ee2ee..e19a06724 100644 --- a/zellij-utils/src/input/actions.rs +++ b/zellij-utils/src/input/actions.rs @@ -542,7 +542,7 @@ impl Action { None } }) { - should_start_layout_commands_suspended = true; + should_start_layout_commands_suspended = true; ( layout_url.to_owned(), Layout::stringified_from_url(layout_url) diff --git a/zellij-utils/src/input/layout.rs b/zellij-utils/src/input/layout.rs index b5a40e69a..9b97c2781 100644 --- a/zellij-utils/src/input/layout.rs +++ b/zellij-utils/src/input/layout.rs @@ -1198,7 +1198,10 @@ impl Layout { None, ); if should_start_layout_commands_suspended { - layout.iter_mut().next().map(|l| l.recursively_add_start_suspended_including_template(Some(true))); + layout + .iter_mut() + .next() + .map(|l| l.recursively_add_start_suspended_including_template(Some(true))); } layout } @@ -1495,7 +1498,10 @@ impl Layout { } } } - pub fn recursively_add_start_suspended_including_template(&mut self, start_suspended: Option) { + pub fn recursively_add_start_suspended_including_template( + &mut self, + start_suspended: Option, + ) { if let Some((tiled_panes_template, floating_panes_template)) = self.template.as_mut() { tiled_panes_template.recursively_add_start_suspended(start_suspended); for floating_pane in floating_panes_template.iter_mut() {