style: Make tidy happy.

This commit is contained in:
Emilio Cobos Álvarez 2019-01-20 17:50:18 +01:00
parent 90c0ec0cf7
commit 289d9b033c
7 changed files with 14 additions and 10 deletions

View file

@ -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,