summaryrefslogtreecommitdiff
path: root/src/library/math/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/math/mod.rs')
-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 b1dabbe5..6ed759b7 100644
--- a/src/library/math/mod.rs
+++ b/src/library/math/mod.rs
@@ -28,7 +28,7 @@ impl MathNode {
#[property(resolve, shorthand(around))]
pub const BELOW: Option<BlockSpacing> = Some(Ratio::one().into());
- fn construct(_: &mut Context, args: &mut Args) -> TypResult<Content> {
+ fn construct(_: &mut Machine, args: &mut Args) -> TypResult<Content> {
Ok(Content::show(Self {
formula: args.expect("formula")?,
display: args.named("display")?.unwrap_or(false),