mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
style: Use a more consistent style for parsing functions.
This commit is contained in:
parent
39018f9339
commit
15c416b133
14 changed files with 126 additions and 69 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue