summaryrefslogtreecommitdiff
path: root/library/src/math/matrix.rs
diff options
context:
space:
mode:
authorMarek Barvíř <barvirm@gmail.com>2023-04-18 11:19:16 +0200
committerGitHub <noreply@github.com>2023-04-18 11:19:16 +0200
commitdd5e9723e09b60799277b44dcd446bccc0ab771e (patch)
tree2fc4d71844dc3daa80722c18ab3aa235346abe3c /library/src/math/matrix.rs
parent56673bcdf5a8be0f89a3781a5ce392736823dc44 (diff)
clippy::wrong_self_convention (#857)
Diffstat (limited to 'library/src/math/matrix.rs')
-rw-r--r--library/src/math/matrix.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/math/matrix.rs b/library/src/math/matrix.rs
index 66925cda..f2a9fe97 100644
--- a/library/src/math/matrix.rs
+++ b/library/src/math/matrix.rs
@@ -268,7 +268,7 @@ fn layout_mat_body(ctx: &mut MathContext, rows: &[Vec<Content>]) -> SourceResult
let points = alignments(&col);
let mut y = Abs::zero();
for ((cell, &ascent), &descent) in col.into_iter().zip(&ascents).zip(&descents) {
- let cell = cell.to_aligned_frame(ctx, &points, Align::Center);
+ let cell = cell.into_aligned_frame(ctx, &points, Align::Center);
let pos =
Point::new(x + (rcol - cell.width()) / 2.0, y + ascent - cell.ascent());
frame.push_frame(pos, cell);