[librsvg/librsvg-2.46] property_defs: take self in is_vertical



commit da7ccb803e028db0799ea7fb936141f69585b069
Author: Paolo Borelli <pborelli gnome org>
Date:   Sun Oct 13 12:13:40 2019 +0200

    property_defs: take self in is_vertical

 rsvg_internals/src/property_defs.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rsvg_internals/src/property_defs.rs b/rsvg_internals/src/property_defs.rs
index d915583a..07a4ce2f 100644
--- a/rsvg_internals/src/property_defs.rs
+++ b/rsvg_internals/src/property_defs.rs
@@ -694,8 +694,8 @@ make_property!(
 );
 
 impl WritingMode {
-    pub fn is_vertical(&self) -> bool {
-        match *self {
+    pub fn is_vertical(self) -> bool {
+        match self {
             WritingMode::Tb | WritingMode::TbRl => true,
             _ => false,
         }


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