mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Rustfmt recent changes.
This commit is contained in:
parent
1754c832d8
commit
071ce6f345
22 changed files with 210 additions and 163 deletions
|
@ -501,11 +501,9 @@ impl ToComputedValue for specified::AngleOrPercentage {
|
|||
#[inline]
|
||||
fn from_computed_value(computed: &AngleOrPercentage) -> Self {
|
||||
match *computed {
|
||||
AngleOrPercentage::Percentage(percentage) => {
|
||||
specified::AngleOrPercentage::Percentage(ToComputedValue::from_computed_value(
|
||||
&percentage,
|
||||
))
|
||||
},
|
||||
AngleOrPercentage::Percentage(percentage) => specified::AngleOrPercentage::Percentage(
|
||||
ToComputedValue::from_computed_value(&percentage),
|
||||
),
|
||||
AngleOrPercentage::Angle(angle) => {
|
||||
specified::AngleOrPercentage::Angle(ToComputedValue::from_computed_value(&angle))
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue