style: Cleanup the indentation of a function.

This commit is contained in:
Emilio Cobos Álvarez 2018-02-05 04:58:22 +01:00
parent d4b238bada
commit a03aa1b4b9
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -304,10 +304,11 @@ impl Parse for LegacyPosition {
impl LegacyPosition {
/// Parses a `<position>`, with quirks.
pub fn parse_quirky<'i, 't>(context: &ParserContext,
input: &mut Parser<'i, 't>,
allow_quirks: AllowQuirks)
-> Result<Self, ParseError<'i>> {
pub fn parse_quirky<'i, 't>(
context: &ParserContext,
input: &mut Parser<'i, 't>,
allow_quirks: AllowQuirks,
) -> Result<Self, ParseError<'i>> {
match input.try(|i| OriginComponent::parse(context, i)) {
Ok(x_pos @ OriginComponent::Center) => {
if let Ok(y_pos) = input.try(|i|