aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/values/specified/svg_path.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style/values/specified/svg_path.rs')
-rw-r--r--components/style/values/specified/svg_path.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/components/style/values/specified/svg_path.rs b/components/style/values/specified/svg_path.rs
index e5276e5cce8..e5282e0a164 100644
--- a/components/style/values/specified/svg_path.rs
+++ b/components/style/values/specified/svg_path.rs
@@ -33,8 +33,7 @@ use style_traits::{CssWriter, ParseError, StyleParseErrorKind, ToCss};
pub struct SVGPathData(
// TODO(emilio): Should probably measure this somehow only from the
// specified values.
- #[ignore_malloc_size_of = "Arc"]
- pub crate::ArcSlice<PathCommand>
+ #[ignore_malloc_size_of = "Arc"] pub crate::ArcSlice<PathCommand>,
);
impl SVGPathData {
@@ -103,7 +102,9 @@ impl Parse for SVGPathData {
}
}
- Ok(SVGPathData(crate::ArcSlice::from_iter(path_parser.path.into_iter())))
+ Ok(SVGPathData(crate::ArcSlice::from_iter(
+ path_parser.path.into_iter(),
+ )))
}
}