diff options
author | Aram Drevekenin <aram@poor.dev> | 2022-12-24 16:29:54 +0100 |
---|---|---|
committer | Aram Drevekenin <aram@poor.dev> | 2022-12-24 16:29:54 +0100 |
commit | 02e80860a22a595e0aac48cf0bac937614963551 (patch) | |
tree | 5a420d73f2f8124052d9d48318e8fdc857feefd9 | |
parent | a0b0f0e85207ca13b7ecdf16ed560e143a477853 (diff) |
style(fmt): rustfmt
-rw-r--r-- | zellij-utils/src/kdl/kdl_layout_parser.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/zellij-utils/src/kdl/kdl_layout_parser.rs b/zellij-utils/src/kdl/kdl_layout_parser.rs index 67d79a7e9..fad5fafed 100644 --- a/zellij-utils/src/kdl/kdl_layout_parser.rs +++ b/zellij-utils/src/kdl/kdl_layout_parser.rs @@ -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; } } |