summaryrefslogtreecommitdiff
path: root/library/src/structure/heading.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-07 14:30:50 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-07 14:43:13 +0100
commit0a41844cc4e645e87fe48aa31ed3a4fd40a6ab11 (patch)
treec7cac97079491c8a11afae1211d7a80415fe64ef /library/src/structure/heading.rs
parentefd1853d069fbd1476e82d015da4d0d04cfaccc0 (diff)
Selectors
Diffstat (limited to 'library/src/structure/heading.rs')
-rw-r--r--library/src/structure/heading.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/src/structure/heading.rs b/library/src/structure/heading.rs
index 46e98c18..f93be5d9 100644
--- a/library/src/structure/heading.rs
+++ b/library/src/structure/heading.rs
@@ -78,8 +78,8 @@ impl HeadingNode {
}
impl Show for HeadingNode {
- fn unguard_parts(&self, sel: Selector) -> Content {
- Self { body: self.body.unguard(sel), ..*self }.pack()
+ fn unguard_parts(&self, id: RecipeId) -> Content {
+ Self { body: self.body.unguard(id), ..*self }.pack()
}
fn show(&self, _: Tracked<dyn World>, _: StyleChain) -> SourceResult<Content> {