summaryrefslogtreecommitdiff
path: root/src/library/math.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/math.rs')
-rw-r--r--src/library/math.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/math.rs b/src/library/math.rs
index c75cdea8..29367cd5 100644
--- a/src/library/math.rs
+++ b/src/library/math.rs
@@ -13,7 +13,7 @@ pub struct MathNode {
#[class]
impl MathNode {
- fn construct(_: &mut EvalContext, args: &mut Args) -> TypResult<Template> {
+ fn construct(_: &mut Vm, args: &mut Args) -> TypResult<Template> {
Ok(Template::show(Self {
formula: args.expect("formula")?,
display: args.named("display")?.unwrap_or(false),