Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnemecek committed May 16, 2020
1 parent 6f9d8f7 commit 06110e5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/algo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,7 @@ impl Forest {
self.compute_internal(root, style.size.resolve(size), size, true)
};

self.nodes[root].layout = result::Layout {
order: 0,
size: result.size,
location: Point::zero(),
};
self.nodes[root].layout = result::Layout { order: 0, size: result.size, location: Point::zero() };

Self::round_layout(&mut self.nodes, &self.children, root, 0.0, 0.0);
}
Expand Down

0 comments on commit 06110e5

Please sign in to comment.