summaryrefslogtreecommitdiff
path: root/library/src/meta/document.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-03-08 10:54:04 +0100
committerLaurenz <laurmaedje@gmail.com>2023-03-08 11:02:27 +0100
commite5eab73374880077971f3f22acbdd3d302877128 (patch)
tree07aa926b27032d6bcd82486d664dfd4161ccbd3e /library/src/meta/document.rs
parent1b2b53ecb91a9bd7fb3493e471ae03cd142a7c03 (diff)
Streamline field names
Diffstat (limited to 'library/src/meta/document.rs')
-rw-r--r--library/src/meta/document.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/meta/document.rs b/library/src/meta/document.rs
index 0d03b496..29ed38fe 100644
--- a/library/src/meta/document.rs
+++ b/library/src/meta/document.rs
@@ -44,7 +44,7 @@ impl LayoutRoot for DocumentNode {
if let Some(node) = child.to::<StyledNode>() {
map = node.map();
styles = outer.chain(&map);
- child = node.sub();
+ child = node.body();
}
if let Some(page) = child.to::<PageNode>() {