[librsvg: 5/22] Remove unnecessary clone
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 5/22] Remove unnecessary clone
- Date: Thu, 23 Sep 2021 18:42:08 +0000 (UTC)
commit d649068bab24e5ef71ca80ed0ccc63af7a30d0cd
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Sep 22 20:30:20 2021 -0500
Remove unnecessary clone
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/593>
src/text.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/text.rs b/src/text.rs
index 66957706..c60b148d 100644
--- a/src/text.rs
+++ b/src/text.rs
@@ -246,7 +246,7 @@ impl PositionedSpan {
};
PositionedSpan {
- layout: measured.layout.clone(),
+ layout,
values,
_position: (x, y),
rendered_position: (render_x, render_y),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]