summaryrefslogtreecommitdiff
path: root/src/library/math
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-10-31 13:49:10 +0100
committerLaurenz <laurmaedje@gmail.com>2022-10-31 13:49:10 +0100
commit671ce3dedd40067bb5cea84fe0739de013827053 (patch)
treea4c990fc16b514f475dfceaa98d988e92ac6cf0c /src/library/math
parent636bdb9e438cfe4fb075a981e0512b9a3dde3e60 (diff)
Replace `encode` with `field`
Diffstat (limited to 'src/library/math')
-rw-r--r--src/library/math/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/math/mod.rs b/src/library/math/mod.rs
index df00cb71..b23ed7cf 100644
--- a/src/library/math/mod.rs
+++ b/src/library/math/mod.rs
@@ -84,8 +84,8 @@ impl Show for MathNode {
ShowNode::new(self.clone())
}
- fn encode(&self, _: StyleChain) -> Dict {
- todo!()
+ fn field(&self, _: &str) -> Option<Value> {
+ None
}
fn realize(&self, _: Tracked<dyn World>, _: StyleChain) -> SourceResult<Content> {