diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-02-07 13:14:28 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-02-07 13:14:28 +0100 |
| commit | c80e13579f3e6ca8fb1aac5a6d423d902747368d (patch) | |
| tree | ee62a7b7517acd16e9b2b5133c7ad1bdceff0d3c /tests | |
| parent | bfc2f5aefc6c407de0b699b31dafd835fc2c9be3 (diff) | |
Dry-clean visitor with a macro 🏜
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/typeset.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/typeset.rs b/tests/typeset.rs index d431abfe..7e7fb463 100644 --- a/tests/typeset.rs +++ b/tests/typeset.rs @@ -452,7 +452,6 @@ fn draw_geometry(canvas: &mut Canvas, pos: Point, _: &Env, element: &Geometry) { let y = pos.y.to_pt() as f32; let mut paint = Paint::default(); - match &element.fill { Fill::Color(c) => match c { typst::color::Color::Rgba(c) => paint.set_color_rgba8(c.r, c.g, c.b, c.a), |
