diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-09-21 17:50:58 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-09-21 20:25:57 +0200 |
| commit | ddd3b6a82b8c0353c942bfba8b89ca5476eedc58 (patch) | |
| tree | a64c350f0f1f82152ff18cfb02fbfdbf39292672 /src/library/structure/doc.rs | |
| parent | 3760748fddd3b793c79c370398a9d4a3fc5afc04 (diff) | |
Tracked memoization
Diffstat (limited to 'src/library/structure/doc.rs')
| -rw-r--r-- | src/library/structure/doc.rs | 2 |
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![]; |
