[librsvg: 2/6] Remove redundant clone




commit 775bb14c7eaac1e0269efcee278aa1fa53cdf242
Author: Federico Mena Quintero <federico gnome org>
Date:   Wed Aug 24 08:51:14 2022 -0500

    Remove redundant clone
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/733>

 src/handle.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/handle.rs b/src/handle.rs
index 845da304c..f0bbf9521 100644
--- a/src/handle.rs
+++ b/src/handle.rs
@@ -95,7 +95,7 @@ impl Handle {
         Ok(Handle {
             session: session.clone(),
             document: Document::load_from_stream(
-                session.clone(),
+                session,
                 load_options,
                 stream,
                 cancellable,


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