diff options
Diffstat (limited to 'src/model')
| -rw-r--r-- | src/model/items.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/model/items.rs b/src/model/items.rs index 21d45b67..771756fe 100644 --- a/src/model/items.rs +++ b/src/model/items.rs @@ -42,8 +42,11 @@ macro_rules! item { #[derive(Copy, Clone)] pub struct LangItems { /// The root layout function. - pub root: - fn(world: Tracked<dyn World>, document: &Content) -> SourceResult<Vec<Frame>>, + pub root: fn( + content: &Content, + world: Tracked<dyn World>, + styles: StyleChain, + ) -> SourceResult<Vec<Frame>>, /// Access the em size. pub em: fn(StyleChain) -> Abs, /// Access the text direction. |
