We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b4ac03 commit 9c7b48cCopy full SHA for 9c7b48c
1 file changed
float-pigment-css/src/parser/property_value/calc.rs
@@ -176,10 +176,7 @@ impl ComputeCalcExpr<Angle> {
176
_ => None,
177
}
178
179
- CalcExpr::Length(l) => match l {
180
- Length::Ratio(ratio) => Some(Angle::from_ratio(*ratio)),
181
- _ => None,
182
- },
+ CalcExpr::Length(Length::Ratio(ratio)) => Some(Angle::from_ratio(*ratio)),
183
184
185
0 commit comments