diff options
Diffstat (limited to 'src/library/structure')
| -rw-r--r-- | src/library/structure/heading.rs | 2 | ||||
| -rw-r--r-- | src/library/structure/list.rs | 2 | ||||
| -rw-r--r-- | src/library/structure/table.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/library/structure/heading.rs b/src/library/structure/heading.rs index 468757ad..70589de0 100644 --- a/src/library/structure/heading.rs +++ b/src/library/structure/heading.rs @@ -68,7 +68,7 @@ impl Show for HeadingNode { Self { body: self.body.unguard(sel), ..*self }.pack() } - fn encode(&self) -> Dict { + fn encode(&self, _: StyleChain) -> Dict { dict! { "level" => Value::Int(self.level.get() as i64), "body" => Value::Content(self.body.clone()), diff --git a/src/library/structure/list.rs b/src/library/structure/list.rs index fca7d5ce..6bcc9f3e 100644 --- a/src/library/structure/list.rs +++ b/src/library/structure/list.rs @@ -86,7 +86,7 @@ impl<const L: ListKind> Show for ListNode<L> { .pack() } - fn encode(&self) -> Dict { + fn encode(&self, _: StyleChain) -> Dict { dict! { "start" => Value::Int(self.start as i64), "tight" => Value::Bool(self.tight), diff --git a/src/library/structure/table.rs b/src/library/structure/table.rs index 304a8681..b983a7ea 100644 --- a/src/library/structure/table.rs +++ b/src/library/structure/table.rs @@ -60,7 +60,7 @@ impl Show for TableNode { .pack() } - fn encode(&self) -> Dict { + fn encode(&self, _: StyleChain) -> Dict { dict! { "cells" => Value::Array( self.cells |
