diff options
| author | Marek Barvíř <barvirm@gmail.com> | 2023-04-18 11:19:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-18 11:19:16 +0200 |
| commit | dd5e9723e09b60799277b44dcd446bccc0ab771e (patch) | |
| tree | 2fc4d71844dc3daa80722c18ab3aa235346abe3c /library/src/math/op.rs | |
| parent | 56673bcdf5a8be0f89a3781a5ce392736823dc44 (diff) | |
clippy::wrong_self_convention (#857)
Diffstat (limited to 'library/src/math/op.rs')
| -rw-r--r-- | library/src/math/op.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/math/op.rs b/library/src/math/op.rs index d48ee8c6..5ea4519c 100644 --- a/library/src/math/op.rs +++ b/library/src/math/op.rs @@ -38,7 +38,7 @@ impl LayoutMath for OpElem { let fragment = ctx.layout_text(&TextElem::new(self.text()).spanned(self.span()))?; ctx.push( - FrameFragment::new(ctx, fragment.to_frame()) + FrameFragment::new(ctx, fragment.into_frame()) .with_class(MathClass::Large) .with_limits(self.limits(ctx.styles())), ); |
