summaryrefslogtreecommitdiff
path: root/src/library/structure/doc.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/doc.rs
parent3760748fddd3b793c79c370398a9d4a3fc5afc04 (diff)
Tracked memoization
Diffstat (limited to 'src/library/structure/doc.rs')
-rw-r--r--src/library/structure/doc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/structure/doc.rs b/src/library/structure/doc.rs
index ba848b64..c3af3f1c 100644
--- a/src/library/structure/doc.rs
+++ b/src/library/structure/doc.rs
@@ -9,7 +9,7 @@ impl DocNode {
/// Layout the document into a sequence of frames, one per page.
pub fn layout(
&self,
- world: &dyn World,
+ world: Tracked<dyn World>,
styles: StyleChain,
) -> SourceResult<Vec<Frame>> {
let mut frames = vec![];