mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Rustfmt has changed its default style :/
This commit is contained in:
parent
82fc6d9f49
commit
be69f9c3e6
207 changed files with 1200 additions and 1339 deletions
|
@ -92,12 +92,10 @@ impl Time {
|
|||
// ParsingMode::DEFAULT directly.
|
||||
Ok(&Token::Dimension {
|
||||
value, ref unit, ..
|
||||
})
|
||||
if clamping_mode.is_ok(ParsingMode::DEFAULT, value) =>
|
||||
{
|
||||
}) if clamping_mode.is_ok(ParsingMode::DEFAULT, value) => {
|
||||
return Time::parse_dimension(value, unit, /* from_calc = */ false)
|
||||
.map_err(|()| location.new_custom_error(StyleParseErrorKind::UnspecifiedError));
|
||||
}
|
||||
},
|
||||
Ok(&Token::Function(ref name)) if name.eq_ignore_ascii_case("calc") => {},
|
||||
Ok(t) => return Err(location.new_unexpected_token_error(t.clone())),
|
||||
Err(e) => return Err(e.into()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue