diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-05-09 19:12:32 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-05-10 12:43:06 +0200 |
commit | db2f6aa8ca1f23f78a497cb7cc960ff99f23ac04 (patch) | |
tree | 58fae3d37299c0986141ba88a106066716a518a1 /components/style/values/specified/svg_path.rs | |
parent | f429c28f23bb21812deb042bf50e4bf16b9e1f1b (diff) | |
download | servo-db2f6aa8ca1f23f78a497cb7cc960ff99f23ac04.tar.gz servo-db2f6aa8ca1f23f78a497cb7cc960ff99f23ac04.zip |
style: Rustfmt + build fix.
Diffstat (limited to 'components/style/values/specified/svg_path.rs')
-rw-r--r-- | components/style/values/specified/svg_path.rs | 7 |
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(), + ))) } } |