diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2020-06-04 02:02:50 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2020-06-04 02:02:50 +0200 |
commit | 762abbaf9f886fc4463124d88f54fafab0ca1a6d (patch) | |
tree | 4b0425c0b20b29a4b5590478b02539e5dc25db2b /components/style/parser.rs | |
parent | 69c7077b3dcd2574002ba656fed0cc25a745a1ef (diff) | |
download | servo-762abbaf9f886fc4463124d88f54fafab0ca1a6d.tar.gz servo-762abbaf9f886fc4463124d88f54fafab0ca1a6d.zip |
style: Rustfmt recent changes.
Diffstat (limited to 'components/style/parser.rs')
-rw-r--r-- | components/style/parser.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/components/style/parser.rs b/components/style/parser.rs index f506b809955..26e7cab1ad9 100644 --- a/components/style/parser.rs +++ b/components/style/parser.rs @@ -208,13 +208,19 @@ where } impl Parse for crate::OwnedStr { - fn parse<'i, 't>(_: &ParserContext, input: &mut Parser<'i, 't>) -> Result<Self, ParseError<'i>> { + fn parse<'i, 't>( + _: &ParserContext, + input: &mut Parser<'i, 't>, + ) -> Result<Self, ParseError<'i>> { Ok(input.expect_string()?.as_ref().to_owned().into()) } } impl Parse for UnicodeRange { - fn parse<'i, 't>(_: &ParserContext, input: &mut Parser<'i, 't>) -> Result<Self, ParseError<'i>> { + fn parse<'i, 't>( + _: &ParserContext, + input: &mut Parser<'i, 't>, + ) -> Result<Self, ParseError<'i>> { Ok(UnicodeRange::parse(input)?) } } |