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 /tests | |
| parent | 6e3b1a2c80428d581d00b9d65e1c45401df2e210 (diff) | |
Move `Arc` into `Frame`
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/typeset.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typeset.rs b/tests/typeset.rs index 341a04c0..31068656 100644 --- a/tests/typeset.rs +++ b/tests/typeset.rs @@ -286,7 +286,7 @@ fn test_part( line: usize, print: &PrintConfig, rng: &mut LinearShift, -) -> (bool, bool, Vec<Arc<Frame>>) { +) -> (bool, bool, Vec<Frame>) { let mut ok = true; let id = ctx.sources.provide(src_path, src); @@ -532,7 +532,7 @@ fn test_spans_impl(node: &SyntaxNode, within: Range<u64>) -> bool { } /// Draw all frames into one image with padding in between. -fn render(ctx: &mut Context, frames: &[Arc<Frame>]) -> sk::Pixmap { +fn render(ctx: &mut Context, frames: &[Frame]) -> sk::Pixmap { let pixel_per_pt = 2.0; let pixmaps: Vec<_> = frames .iter() |
