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

@ -11,8 +11,10 @@
spec="https://drafts.csswg.org/css-flexbox/#flex-flow-property">
use properties::longhands::{flex_direction, flex_wrap};
pub fn parse_value<'i, 't>(context: &ParserContext, input: &mut Parser<'i, 't>)
-> Result<Longhands, ParseError<'i>> {
pub fn parse_value<'i, 't>(
context: &ParserContext,
input: &mut Parser<'i, 't>,
) -> Result<Longhands, ParseError<'i>> {
let mut direction = None;
let mut wrap = None;
loop {