summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-03-20 21:56:32 +0100
committerLaurenz <laurmaedje@gmail.com>2023-03-20 22:09:10 +0100
commit2d16f9434f46ab591cede54def23ae4bc477b668 (patch)
treec6b113b2da8ab526804f7b17bc1edd1b0fa6c34f /src
parent22bf0117a0613dc63ace4c495f97bd980db0140c (diff)
Documentation for citation, bibliography, and content
Diffstat (limited to 'src')
-rw-r--r--src/model/realize.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/model/realize.rs b/src/model/realize.rs
index 51d69fdc..10e1b0e2 100644
--- a/src/model/realize.rs
+++ b/src/model/realize.rs
@@ -42,7 +42,7 @@ pub fn realize(
}
if let Some(elem) = elem.with_mut::<dyn Synthesize>() {
- elem.synthesize(vt, styles);
+ elem.synthesize(styles);
}
elem.mark_prepared();
@@ -165,7 +165,7 @@ pub trait Locatable {}
/// rule.
pub trait Synthesize {
/// Prepare the element for show rule application.
- fn synthesize(&mut self, vt: &Vt, styles: StyleChain);
+ fn synthesize(&mut self, styles: StyleChain);
}
/// The base recipe for an element.