Rustfmt components/layout/display_list/

This commit is contained in:
Pyfisch 2018-05-05 22:18:31 +02:00
parent 4b3ccc7c8c
commit ee38fd6f0a
2 changed files with 44 additions and 43 deletions

View file

@ -813,10 +813,7 @@ pub fn build_image_border_details(
}
}
fn calculate_border_image_outset_side(
outset: LengthOrNumber,
border_width: Au,
) -> Au {
fn calculate_border_image_outset_side(outset: LengthOrNumber, border_width: Au) -> Au {
match outset {
Either::First(length) => length.into(),
Either::Second(factor) => border_width.scale_by(factor),