summaryrefslogtreecommitdiff
path: root/library/src/layout/table.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/layout/table.rs')
-rw-r--r--library/src/layout/table.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/src/layout/table.rs b/library/src/layout/table.rs
index 44f18586..3235c790 100644
--- a/library/src/layout/table.rs
+++ b/library/src/layout/table.rs
@@ -222,8 +222,8 @@ impl Layout for TableElem {
}
}
-/// Turn an iterator extents into an iterator of offsets before, in between, and
-/// after the extents, e.g. [10mm, 5mm] -> [0mm, 10mm, 15mm].
+/// Turn an iterator of extents into an iterator of offsets before, in between,
+/// and after the extents, e.g. [10mm, 5mm] -> [0mm, 10mm, 15mm].
fn points(extents: impl IntoIterator<Item = Abs>) -> impl Iterator<Item = Abs> {
let mut offset = Abs::zero();
std::iter::once(Abs::zero())