diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-02-17 15:47:54 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-02-17 17:32:56 +0100 |
| commit | c5e67af22bd6242366819879be84c10c4dd135be (patch) | |
| tree | d857b99b26401d1b3b74c4cebacbf086c25bef40 /src/library/math.rs | |
| parent | 3d965ae6a479636a13b2e2f2344e8d97bedece1f (diff) | |
Merge eval and layout contexts into `Vm`
Diffstat (limited to 'src/library/math.rs')
| -rw-r--r-- | src/library/math.rs | 2 |
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), |
