summaryrefslogtreecommitdiff
path: root/src/library/math
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-07-26 23:24:50 +0200
committerLaurenz <laurmaedje@gmail.com>2022-07-26 23:27:44 +0200
commitfc574b39454aec77cf2c33270566225917c7c823 (patch)
treeccebc217ce9f869bb0078753a7749789d77db551 /src/library/math
parent1e9a5eda48c65096b482b396d550d139a4c2e61d (diff)
New `Str` type with methods
Diffstat (limited to 'src/library/math')
-rw-r--r--src/library/math/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/math/mod.rs b/src/library/math/mod.rs
index 1eed89b1..81593c4f 100644
--- a/src/library/math/mod.rs
+++ b/src/library/math/mod.rs
@@ -43,7 +43,7 @@ impl Show for MathNode {
fn encode(&self, _: StyleChain) -> Dict {
dict! {
- "formula" => Value::Str(self.formula.v.clone()),
+ "formula" => Value::Str(self.formula.v.clone().into()),
"display" => Value::Bool(self.display)
}
}