From 06110e5eaf9dfb18f30e8988e42348f2561986d9 Mon Sep 17 00:00:00 2001 From: Adam Nemecek Date: Sat, 16 May 2020 13:25:58 -0700 Subject: [PATCH] cargo fmt --- src/algo.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/algo.rs b/src/algo.rs index d6830891..e22c2124 100644 --- a/src/algo.rs +++ b/src/algo.rs @@ -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); }