[librsvg: 2/3] Remove superfluous clones, per clippy
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 2/3] Remove superfluous clones, per clippy
- Date: Thu, 22 Jul 2021 23:23:39 +0000 (UTC)
commit f578f6319aaf6c45329a70cb5b8b209b1439e9dc
Author: Federico Mena Quintero <federico gnome org>
Date: Thu Jul 22 15:12:08 2021 -0500
Remove superfluous clones, per clippy
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/572>
src/node.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/node.rs b/src/node.rs
index 10b126c1..705b81fd 100644
--- a/src/node.rs
+++ b/src/node.rs
@@ -164,8 +164,8 @@ impl<'a> CascadedValues<'a> {
CascadedValues {
inner: CascadedInner::FromValues(v),
- context_fill: fill.clone(),
- context_stroke: stroke.clone(),
+ context_fill: fill,
+ context_stroke: stroke,
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]