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/accent.rs | |
| parent | 56673bcdf5a8be0f89a3781a5ce392736823dc44 (diff) | |
clippy::wrong_self_convention (#857)
Diffstat (limited to 'library/src/math/accent.rs')
| -rw-r--r-- | library/src/math/accent.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/math/accent.rs b/library/src/math/accent.rs index bf0a78d5..03263c3c 100644 --- a/library/src/math/accent.rs +++ b/library/src/math/accent.rs @@ -91,7 +91,7 @@ impl LayoutMath for AccentElem { let mut frame = Frame::new(size); frame.set_baseline(baseline); frame.push_frame(accent_pos, accent); - frame.push_frame(base_pos, base.to_frame()); + frame.push_frame(base_pos, base.into_frame()); ctx.push(FrameFragment::new(ctx, frame).with_base_ascent(base_ascent)); Ok(()) |
