[librsvg: 14/15] Remove superfluous clone




commit b1426685a2921024d9502da6993c08389a5f28da
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Apr 8 17:25:53 2021 -0500

    Remove superfluous clone

 src/filters/mod.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/filters/mod.rs b/src/filters/mod.rs
index a06258d5..6e8d7b14 100644
--- a/src/filters/mod.rs
+++ b/src/filters/mod.rs
@@ -310,7 +310,7 @@ pub fn render(
                     )?;
 
                     Ok(FilterResult {
-                        name: resolved_primitive.result.clone(),
+                        name: resolved_primitive.result,
                         output,
                     })
                 })


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]