[librsvg: 14/15] Remove superfluous references
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 14/15] Remove superfluous references
- Date: Mon, 18 Oct 2021 23:15:48 +0000 (UTC)
commit 8b9c2b8a66334503beb9cf2e67a1b3d6c9934ae3
Author: Federico Mena Quintero <federico gnome org>
Date: Mon Oct 18 18:03:02 2021 -0500
Remove superfluous references
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/613>
src/drawing_ctx.rs | 4 ++--
src/text.rs | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/drawing_ctx.rs b/src/drawing_ctx.rs
index 205fe117..95f4bac5 100644
--- a/src/drawing_ctx.rs
+++ b/src/drawing_ctx.rs
@@ -691,7 +691,7 @@ impl DrawingCtx {
} else {
with_saved_cr(&self.cr.clone(), || {
if let Some(ref link_target) = stacking_ctx.link_target {
- self.link_tag_begin(&link_target);
+ self.link_tag_begin(link_target);
}
let Opacity(UnitInterval(opacity)) = stacking_ctx.opacity;
@@ -1402,7 +1402,7 @@ impl DrawingCtx {
if span.is_visible {
if let Some(ref link_target) = span.link_target {
- self.link_tag_begin(&link_target);
+ self.link_tag_begin(link_target);
}
for &target in &span.paint_order.targets {
diff --git a/src/text.rs b/src/text.rs
index ca3b7edc..3d890e4e 100644
--- a/src/text.rs
+++ b/src/text.rs
@@ -357,7 +357,7 @@ impl PositionedSpan {
view_params: &ViewParams,
link_target: Option<String>,
) -> LayoutSpan {
- let params = NormalizeParams::new(&self.values, &view_params);
+ let params = NormalizeParams::new(&self.values, view_params);
let layout = self.layout.clone();
let is_visible = self.values.is_visible();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]