[librsvg: 6/9] Drop pointless let-binding



commit 082c5d83bd4d70c508c508686f42c772792d30f2
Author: Sven Neumann <sven svenfoo org>
Date:   Thu Jan 30 08:58:44 2020 +0100

    Drop pointless let-binding
    
    https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value

 rsvg_internals/src/drawing_ctx.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rsvg_internals/src/drawing_ctx.rs b/rsvg_internals/src/drawing_ctx.rs
index 306d44a0..88b4339d 100644
--- a/rsvg_internals/src/drawing_ctx.rs
+++ b/rsvg_internals/src/drawing_ctx.rs
@@ -567,7 +567,7 @@ impl<'i> DrawingCtx<'i> {
                     // Clip
 
                     dc.cr.set_matrix(affines.outside_temporary_surface.into());
-                    let _: () = dc.clip_to_node(&clip_in_object_space, &bbox)?;
+                    dc.clip_to_node(&clip_in_object_space, &bbox)?;
 
                     // Mask
 


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