aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2018-02-05 04:58:22 +0100
committerEmilio Cobos Álvarez <emilio@crisal.io>2018-02-05 13:02:55 +0100
commita03aa1b4b982d96e723a0e6c28bfc786ce721d7e (patch)
tree5785b4f9efa3f84ba2c73c3cdc3641992573a7e5
parentd4b238badaea57c4cc51cbdc2cdbe9b60308ab35 (diff)
downloadservo-a03aa1b4b982d96e723a0e6c28bfc786ce721d7e.tar.gz
servo-a03aa1b4b982d96e723a0e6c28bfc786ce721d7e.zip
style: Cleanup the indentation of a function.
-rw-r--r--components/style/values/specified/position.rs9
1 files 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 `<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|