summaryrefslogtreecommitdiff
path: root/src/library/structure/reference.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-09-21 17:50:58 +0200
committerLaurenz <laurmaedje@gmail.com>2022-09-21 20:25:57 +0200
commitddd3b6a82b8c0353c942bfba8b89ca5476eedc58 (patch)
treea64c350f0f1f82152ff18cfb02fbfdbf39292672 /src/library/structure/reference.rs
parent3760748fddd3b793c79c370398a9d4a3fc5afc04 (diff)
Tracked memoization
Diffstat (limited to 'src/library/structure/reference.rs')
-rw-r--r--src/library/structure/reference.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/structure/reference.rs b/src/library/structure/reference.rs
index 5d1dab38..0a9f4f9c 100644
--- a/src/library/structure/reference.rs
+++ b/src/library/structure/reference.rs
@@ -22,7 +22,7 @@ impl Show for RefNode {
}
}
- fn realize(&self, _: &dyn World, _: StyleChain) -> SourceResult<Content> {
+ fn realize(&self, _: Tracked<dyn World>, _: StyleChain) -> SourceResult<Content> {
Ok(Content::Text(format_eco!("@{}", self.0)))
}
}