mirror of
https://github.com/servo/servo.git
synced 2025-08-30 01:28:21 +01:00
style: Make tidy happy.
This commit is contained in:
parent
90c0ec0cf7
commit
289d9b033c
7 changed files with 14 additions and 10 deletions
|
@ -376,7 +376,8 @@ pub fn parse_border<'i, 't>(
|
|||
) -> Result<Longhands, ParseError<'i>> {
|
||||
let start_value = border_${axis}_start_${prop}::parse(context, input)?;
|
||||
let end_value =
|
||||
input.try(|input| border_${axis}_start_${prop}::parse(context, input)).unwrap_or_else(|_| start_value.clone());
|
||||
input.try(|input| border_${axis}_start_${prop}::parse(context, input))
|
||||
.unwrap_or_else(|_| start_value.clone());
|
||||
|
||||
Ok(expanded! {
|
||||
border_${axis}_start_${prop}: start_value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue