mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
style: Cleanup the indentation of a function.
This commit is contained in:
parent
d4b238bada
commit
a03aa1b4b9
1 changed files with 5 additions and 4 deletions
|
@ -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|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue