[librsvg: 2/43] property_defs: take self in is_vertical
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 2/43] property_defs: take self in is_vertical
- Date: Tue, 15 Oct 2019 00:05:38 +0000 (UTC)
commit 65532f4bde53db5d5c4f6c1ae2b789511f973c59
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]