[librsvg: 4/4] cargo fmt



commit cc2a0131df9bf36634b4fe20c6fadbd2d42ab7c8
Author: Federico Mena Quintero <federico gnome org>
Date:   Mon Dec 10 18:38:51 2018 -0600

    cargo fmt

 rsvg_internals/src/angle.rs  | 2 +-
 rsvg_internals/src/marker.rs | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/rsvg_internals/src/angle.rs b/rsvg_internals/src/angle.rs
index 4872880f..7e997c5e 100644
--- a/rsvg_internals/src/angle.rs
+++ b/rsvg_internals/src/angle.rs
@@ -82,7 +82,7 @@ impl Parse for Angle {
                         _ => {
                             return Err(ValueErrorKind::Parse(ParseError::new(
                                 "expected 'deg' | 'grad' | 'rad'",
-                            )))
+                            )));
                         }
                     }
                 }
diff --git a/rsvg_internals/src/marker.rs b/rsvg_internals/src/marker.rs
index d8e012b7..c9ff7c61 100644
--- a/rsvg_internals/src/marker.rs
+++ b/rsvg_internals/src/marker.rs
@@ -82,8 +82,7 @@ impl Parse for MarkerOrient {
         if parser.try(|p| p.expect_ident_matching("auto")).is_ok() {
             Ok(MarkerOrient::Auto)
         } else {
-            Angle::parse(parser, ())
-                .map(MarkerOrient::Angle)
+            Angle::parse(parser, ()).map(MarkerOrient::Angle)
         }
     }
 }


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