diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-06-12 17:45:52 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-06-12 20:51:31 +0200 |
| commit | 7660978ee5d842648e244e2972273264d94ca37b (patch) | |
| tree | 74e1c8bc578afa616ddcd6c4c9e79c3c3d311d78 /src/library/math | |
| parent | 6e3b1a2c80428d581d00b9d65e1c45401df2e210 (diff) | |
Move `Arc` into `Frame`
Diffstat (limited to 'src/library/math')
| -rw-r--r-- | src/library/math/rex.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/math/rex.rs b/src/library/math/rex.rs index 930829de..a8dbd764 100644 --- a/src/library/math/rex.rs +++ b/src/library/math/rex.rs @@ -25,7 +25,7 @@ impl Layout for RexNode { ctx: &mut Context, _: &Regions, styles: StyleChain, - ) -> TypResult<Vec<Arc<Frame>>> { + ) -> TypResult<Vec<Frame>> { // Load the font. let span = self.tex.span; let face_id = ctx @@ -80,7 +80,7 @@ impl Layout for RexNode { // Render into the frame. renderer.render(&layout, &mut backend); - Ok(vec![Arc::new(backend.frame)]) + Ok(vec![backend.frame]) } } |
