Skip to content

Commit

Permalink
fmt: cargo
Browse files Browse the repository at this point in the history
  • Loading branch information
LastLeaf committed Dec 4, 2024
1 parent fec6cd9 commit ba276c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion float-pigment-forest/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ impl Node {
if let Some(cache) = self.measure_cache() {
cache.clear();
}

}

#[inline(always)]
Expand Down
4 changes: 3 additions & 1 deletion float-pigment-forest/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,9 @@ impl TestCtx {
};
let mut node_props = NodeProperties::new(parent_node_props);
if let Some(style) = e.attributes().get("style") {
unsafe { TestCtx::set_style(&*node, &style, &mut node_props, parent_node_props); }
unsafe {
TestCtx::set_style(&*node, &style, &mut node_props, parent_node_props);
}
}
self.set_expect_layout_pos(node, e.attributes());
e.children_mut().iter().for_each(|item| {
Expand Down

0 comments on commit ba276c4

Please sign in to comment.