diff options
Diffstat (limited to 'src/model/items.rs')
| -rw-r--r-- | src/model/items.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/model/items.rs b/src/model/items.rs index 771756fe..50ea8b60 100644 --- a/src/model/items.rs +++ b/src/model/items.rs @@ -42,7 +42,7 @@ macro_rules! item { #[derive(Copy, Clone)] pub struct LangItems { /// The root layout function. - pub root: fn( + pub layout: fn( content: &Content, world: Tracked<dyn World>, styles: StyleChain, @@ -104,7 +104,7 @@ impl Debug for LangItems { impl Hash for LangItems { fn hash<H: Hasher>(&self, state: &mut H) { - (self.root as usize).hash(state); + (self.layout as usize).hash(state); (self.em as usize).hash(state); (self.dir as usize).hash(state); self.space.hash(state); |
