style(fmt): rustfmt

This commit is contained in:
Aram Drevekenin 2024-10-24 13:32:18 +02:00
parent 29f67f6fc5
commit 87bdddf431
2 changed files with 9 additions and 3 deletions

View File

@ -1198,7 +1198,10 @@ impl Layout {
None, None,
); );
if should_start_layout_commands_suspended { 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 layout
} }
@ -1495,7 +1498,10 @@ impl Layout {
} }
} }
} }
pub fn recursively_add_start_suspended_including_template(&mut self, start_suspended: Option<bool>) { pub fn recursively_add_start_suspended_including_template(
&mut self,
start_suspended: Option<bool>,
) {
if let Some((tiled_panes_template, floating_panes_template)) = self.template.as_mut() { if let Some((tiled_panes_template, floating_panes_template)) = self.template.as_mut() {
tiled_panes_template.recursively_add_start_suspended(start_suspended); tiled_panes_template.recursively_add_start_suspended(start_suspended);
for floating_pane in floating_panes_template.iter_mut() { for floating_pane in floating_panes_template.iter_mut() {