Skip to content

Commit

Permalink
style(fmt): rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
imsnif committed Dec 24, 2022
1 parent a0b0f0e commit 02e8086
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion zellij-utils/src/kdl/kdl_layout_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,10 @@ impl<'a> KdlLayoutParser<'a> {
fn has_child_nodes(&self, kdl_node: &KdlNode) -> bool {
if let Some(children) = kdl_children_nodes!(kdl_node) {
for child in children {
if kdl_name!(child) == "pane" || kdl_name!(child) == "children" || self.pane_templates.get(kdl_name!(child)).is_some() {
if kdl_name!(child) == "pane"
|| kdl_name!(child) == "children"
|| self.pane_templates.get(kdl_name!(child)).is_some()
{
return true;
}
}
Expand Down

0 comments on commit 02e8086

Please sign in to comment.