diff options
author | Federico Mena Quintero <federico@gnome.org> | 2023-03-22 16:31:04 -0600 |
---|---|---|
committer | Marge Bot <marge-bot@gnome.org> | 2023-03-23 01:41:14 +0000 |
commit | fe55161d826e8e674dd54b9c16d7fa31ac8b4e14 (patch) | |
tree | c58a493710e253eb6268d134439d5d7328aae867 | |
parent | a0b33114e721dc011d7d4cc50dde2c68aedf4654 (diff) | |
download | librsvg-fe55161d826e8e674dd54b9c16d7fa31ac8b4e14.tar.gz |
clippy: remove unnecessary references
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
-rw-r--r-- | src/drawing_ctx.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drawing_ctx.rs b/src/drawing_ctx.rs index 6cf84dc2..30d5f4f2 100644 --- a/src/drawing_ctx.rs +++ b/src/drawing_ctx.rs @@ -1265,17 +1265,17 @@ impl DrawingCtx { ) -> Result<BoundingBox, RenderingError> { match &layer.kind { LayerKind::Shape(shape) => self.draw_shape( - &shape, + shape, &layer.stacking_ctx, acquired_nodes, values, clipping, ), LayerKind::Text(text) => { - self.draw_text(&text, &layer.stacking_ctx, acquired_nodes, values, clipping) + self.draw_text(text, &layer.stacking_ctx, acquired_nodes, values, clipping) } LayerKind::Image(image) => self.draw_image( - &image, + image, &layer.stacking_ctx, acquired_nodes, values, |