[librsvg] rustfmt
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] rustfmt
- Date: Fri, 2 Mar 2018 09:18:26 +0000 (UTC)
commit f6b12e25ef65a59a70695fdbda9ed33185d50ac6
Author: Jordan Petridis <jordanpetridis protonmail com>
Date: Fri Mar 2 11:17:42 2018 +0200
rustfmt
rsvg_internals/src/coord_units.rs | 4 ++--
rsvg_internals/src/marker.rs | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/rsvg_internals/src/coord_units.rs b/rsvg_internals/src/coord_units.rs
index b2ddc7cd..0877ee58 100644
--- a/rsvg_internals/src/coord_units.rs
+++ b/rsvg_internals/src/coord_units.rs
@@ -38,7 +38,7 @@ impl Parse for CoordUnits {
/// specified `$default` value.
#[macro_export]
macro_rules! coord_units {
- ($name:ident, $default:expr) => {
+ ($name: ident, $default: expr) => {
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
struct $name(CoordUnits);
@@ -62,7 +62,7 @@ macro_rules! coord_units {
Ok($name($crate::coord_units::CoordUnits::parse(s, ())?))
}
}
- }
+ };
}
#[cfg(test)]
diff --git a/rsvg_internals/src/marker.rs b/rsvg_internals/src/marker.rs
index e287ee0c..fd17966f 100644
--- a/rsvg_internals/src/marker.rs
+++ b/rsvg_internals/src/marker.rs
@@ -1047,7 +1047,7 @@ mod directionality_tests {
// Multiple closed subpaths; each must have a line segment back to their
// initial points, with no degenerate segments between subpaths.
- //
+ //
fn setup_multiple_closed_subpaths() -> RsvgPathBuilder {
let mut builder = RsvgPathBuilder::new();
@@ -1083,7 +1083,7 @@ mod directionality_tests {
// A lineto follows the first closed subpath, with no moveto to start the second subpath.
// The lineto must start at the first point of the first subpath.
- //
+ //
fn setup_no_moveto_after_closepath() -> RsvgPathBuilder {
let mut builder = RsvgPathBuilder::new();
@@ -1143,7 +1143,7 @@ mod directionality_tests {
//
// test_path_builder_to_segments (&setup_sequence_of_moveto (), expected_segments);
// }
- //
+ //
#[test]
fn degenerate_segment_has_no_directionality() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]