mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Rustfmt recent changes.
This commit is contained in:
parent
1754c832d8
commit
071ce6f345
22 changed files with 210 additions and 163 deletions
|
@ -228,9 +228,7 @@ impl Angle {
|
|||
let function = CalcNode::math_function(name, location)?;
|
||||
CalcNode::parse_angle(context, input, function)
|
||||
},
|
||||
Token::Number { value, .. } if value == 0. && allow_unitless_zero => {
|
||||
Ok(Angle::zero())
|
||||
},
|
||||
Token::Number { value, .. } if value == 0. && allow_unitless_zero => Ok(Angle::zero()),
|
||||
ref t => {
|
||||
let t = t.clone();
|
||||
Err(input.new_unexpected_token_error(t))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue