[librsvg: 3/4] node.rs: Fix line being too long



commit e0b9dbe9b6a777db70d236a3794dff9580abe97c
Author: Ivan Molodetskikh <yalterz gmail com>
Date:   Thu Mar 15 10:09:46 2018 +0300

    node.rs: Fix line being too long

 rsvg_internals/src/node.rs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/rsvg_internals/src/node.rs b/rsvg_internals/src/node.rs
index e6d9cae1..ae7a59f4 100644
--- a/rsvg_internals/src/node.rs
+++ b/rsvg_internals/src/node.rs
@@ -356,7 +356,8 @@ pub extern "C" fn rsvg_node_unref(raw_node: *mut RsvgNode) -> *mut RsvgNode {
         let _ = unsafe { Box::from_raw(raw_node) };
     }
 
-    ptr::null_mut() // so the caller can do "node = rsvg_node_unref (node);" and lose access to the node
+    // so the caller can do "node = rsvg_node_unref (node);" and lose access to the node
+    ptr::null_mut()
 }
 
 // See https://github.com/rust-lang/rust/issues/36497 - this is what


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