[librsvg: 8/9] clippy: Remove superfluous reference
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 8/9] clippy: Remove superfluous reference
- Date: Fri, 7 Oct 2022 03:01:57 +0000 (UTC)
commit fa68d27b7be77e5fff2e39f51011fffbbac02c9d
Author: Federico Mena Quintero <federico gnome org>
Date: Thu Oct 6 21:35:10 2022 -0500
clippy: Remove superfluous reference
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/757>
src/gradient.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gradient.rs b/src/gradient.rs
index 6c3e8ff5c..13e105591 100644
--- a/src/gradient.rs
+++ b/src/gradient.rs
@@ -683,7 +683,7 @@ impl ResolvedGradient {
values: &ComputedValues,
) -> Option<UserSpaceGradient> {
let units = self.units.0;
- let transform = rect_to_transform(&object_bbox, units).ok()?;
+ let transform = rect_to_transform(object_bbox, units).ok()?;
let view_params = current_params.with_units(units);
let params = NormalizeParams::new(values, &view_params);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]