mirror of
https://github.com/zellij-org/zellij.git
synced 2024-11-22 13:02:12 +03:00
style(fmt): rustfmt
This commit is contained in:
parent
a0b0f0e852
commit
02e80860a2
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user