[librsvg: 1/4] Fix a mut self that was explicitly typed




commit df0558d4aa1bc31e0d40b4d83cbd59ddc3266e72
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Jun 24 11:22:17 2021 -0500

    Fix a mut self that was explicitly typed
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/553>

 src/drawing_ctx.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/drawing_ctx.rs b/src/drawing_ctx.rs
index bd54889c..785222c6 100644
--- a/src/drawing_ctx.rs
+++ b/src/drawing_ctx.rs
@@ -950,7 +950,7 @@ impl DrawingCtx {
     }
 
     fn set_gradient(
-        self: &mut DrawingCtx,
+        &mut self,
         gradient: &UserSpaceGradient,
     ) -> Result<(), cairo::Error> {
         let g = match gradient.variant {


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