summaryrefslogtreecommitdiff
path: root/src/layout/grid.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-09-25 23:35:27 +0200
committerLaurenz <laurmaedje@gmail.com>2021-09-25 23:35:27 +0200
commit5594868f8b7a3ca5155804653fc2f2d2fb84a48e (patch)
tree5ee923b831417b4ff8ad3f8e1353a90624ea66f8 /src/layout/grid.rs
parentcdb9867e0d3c91c5f1e6a93bb9e34e1824d184f7 (diff)
Prevent paragraph from overflowing due to trailing linebreak
Diffstat (limited to 'src/layout/grid.rs')
-rw-r--r--src/layout/grid.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/layout/grid.rs b/src/layout/grid.rs
index 35706498..91cc0014 100644
--- a/src/layout/grid.rs
+++ b/src/layout/grid.rs
@@ -179,8 +179,6 @@ impl<'a> GridLayouter<'a> {
// Sum of fractions of all fractional tracks.
let mut fr = Fractional::zero();
-
-
// Resolve the size of all linear columns and compute the sum of all
// fractional tracks.
for (&col, rcol) in self.cols.iter().zip(&mut self.rcols) {