summaryrefslogtreecommitdiff
path: root/src/layout/document.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-10-11 13:08:27 +0200
committerLaurenz <laurmaedje@gmail.com>2020-10-11 13:08:27 +0200
commitf04ad0ffa5f34bb7fd97e5c94c7547f96904220c (patch)
tree8fb4ebbcf1a24f08ded0f3fea1afe9f9bcdf6697 /src/layout/document.rs
parentc216a4fc26c72938ddad60bc5fe4fa9e45263b30 (diff)
Rename LayoutItem to Layouted ✏
Diffstat (limited to 'src/layout/document.rs')
-rw-r--r--src/layout/document.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/document.rs b/src/layout/document.rs
index c2d7b38b..69ac3d9d 100644
--- a/src/layout/document.rs
+++ b/src/layout/document.rs
@@ -39,8 +39,8 @@ impl Pages {
.await
.into_iter()
.filter_map(|item| match item {
- LayoutItem::Spacing(_) => None,
- LayoutItem::Box(layout, _) => Some(layout),
+ Layouted::Spacing(_) => None,
+ Layouted::Box(layout, _) => Some(layout),
})
.collect()
}