mirror of
https://github.com/servo/servo.git
synced 2025-08-21 21:35:32 +01:00
style: Make tidy happy.
This commit is contained in:
parent
90c0ec0cf7
commit
289d9b033c
7 changed files with 14 additions and 10 deletions
|
@ -29,7 +29,8 @@ ${helpers.four_sides_shorthand("margin", "margin-%s", "specified::LengthPercenta
|
|||
) -> Result<Longhands, ParseError<'i>> {
|
||||
let start_value = LengthPercentageOrAuto::parse(context, input)?;
|
||||
let end_value =
|
||||
input.try(|input| LengthPercentageOrAuto::parse(context, input)).unwrap_or_else(|_| start_value.clone());
|
||||
input.try(|input| LengthPercentageOrAuto::parse(context, input))
|
||||
.unwrap_or_else(|_| start_value.clone());
|
||||
|
||||
Ok(expanded! {
|
||||
margin_${axis}_start: start_value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue