summaryrefslogtreecommitdiff
path: root/library/src/text/mod.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/text/mod.rs
parentefd1853d069fbd1476e82d015da4d0d04cfaccc0 (diff)
Selectors
Diffstat (limited to 'library/src/text/mod.rs')
-rw-r--r--library/src/text/mod.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/src/text/mod.rs b/library/src/text/mod.rs
index 86c6884a..a8164727 100644
--- a/library/src/text/mod.rs
+++ b/library/src/text/mod.rs
@@ -503,8 +503,8 @@ impl StrongNode {
}
impl Show for StrongNode {
- fn unguard_parts(&self, sel: Selector) -> Content {
- Self(self.0.unguard(sel)).pack()
+ fn unguard_parts(&self, id: RecipeId) -> Content {
+ Self(self.0.unguard(id)).pack()
}
fn show(&self, _: Tracked<dyn World>, _: StyleChain) -> SourceResult<Content> {
@@ -531,8 +531,8 @@ impl EmphNode {
}
impl Show for EmphNode {
- fn unguard_parts(&self, sel: Selector) -> Content {
- Self(self.0.unguard(sel)).pack()
+ fn unguard_parts(&self, id: RecipeId) -> Content {
+ Self(self.0.unguard(id)).pack()
}
fn show(&self, _: Tracked<dyn World>, _: StyleChain) -> SourceResult<Content> {