summaryrefslogtreecommitdiff
path: root/library/src/meta/document.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-12-02 15:41:39 +0100
committerLaurenz <laurmaedje@gmail.com>2022-12-02 15:45:18 +0100
commit9bc90c371fb41a2d6dc08eb4673e5be15f829514 (patch)
tree454a47ce82c2229e79a139a8bdeaed9add1e0a14 /library/src/meta/document.rs
parent5110a41de1ca2236739ace2d37a1af912bb029f1 (diff)
Introspection
Diffstat (limited to 'library/src/meta/document.rs')
-rw-r--r--library/src/meta/document.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/library/src/meta/document.rs b/library/src/meta/document.rs
index 77181671..fbb62b6b 100644
--- a/library/src/meta/document.rs
+++ b/library/src/meta/document.rs
@@ -27,11 +27,9 @@ impl LayoutRoot for DocumentNode {
}
Ok(Document {
- metadata: Metadata {
- title: styles.get(Self::TITLE).clone(),
- author: styles.get(Self::AUTHOR).clone(),
- },
pages,
+ title: styles.get(Self::TITLE).clone(),
+ author: styles.get(Self::AUTHOR).clone(),
})
}
}