style: Use a more consistent style for parsing functions.

This commit is contained in:
Emilio Cobos Álvarez 2018-04-02 02:19:59 +02:00
parent 39018f9339
commit 15c416b133
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
14 changed files with 126 additions and 69 deletions

View file

@ -139,8 +139,10 @@ ${helpers.single_keyword("mask-origin",
background_size::get_initial_value()
}
pub fn parse<'i, 't>(context: &ParserContext, input: &mut Parser<'i, 't>)
-> Result<SpecifiedValue,ParseError<'i>> {
pub fn parse<'i, 't>(
context: &ParserContext,
input: &mut Parser<'i, 't>,
) -> Result<SpecifiedValue, ParseError<'i>> {
background_size::parse(context, input)
}
</%helpers:longhand>