cargo fmt
Semantic delta
No definition changed: this change is text, documentation or data.
1 files · +1 −6
- src/algo.rs +1 −6
diff --git a/src/algo.rs b/src/algo.rs
index 025d30f04..63f572a7f 100644
--- a/src/algo.rs
+++ b/src/algo.rs
@@ -1286,12 +1286,7 @@ fn compute_internal(
order,
size: Size { width: 0.0, height: 0.0 },
location: Point { x: 0.0, y: 0.0 },
- children: node
- .children
- .iter()
- .enumerate()
- .map(|(order, child)| hidden_layout(child, order as _))
- .collect(),
+ children: node.children.iter().enumerate().map(|(order, child)| hidden_layout(child, order as _)).collect(),
}
}