From a03aa1b4b982d96e723a0e6c28bfc786ce721d7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Mon, 5 Feb 2018 04:58:22 +0100 Subject: [PATCH] style: Cleanup the indentation of a function. --- components/style/values/specified/position.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/components/style/values/specified/position.rs b/components/style/values/specified/position.rs index bd585af690d..194cb886de8 100644 --- a/components/style/values/specified/position.rs +++ b/components/style/values/specified/position.rs @@ -304,10 +304,11 @@ impl Parse for LegacyPosition { impl LegacyPosition { /// Parses a ``, with quirks. - pub fn parse_quirky<'i, 't>(context: &ParserContext, - input: &mut Parser<'i, 't>, - allow_quirks: AllowQuirks) - -> Result> { + pub fn parse_quirky<'i, 't>( + context: &ParserContext, + input: &mut Parser<'i, 't>, + allow_quirks: AllowQuirks, + ) -> Result> { match input.try(|i| OriginComponent::parse(context, i)) { Ok(x_pos @ OriginComponent::Center) => { if let Ok(y_pos) = input.try(|i|