mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Format remaining files
This commit is contained in:
parent
bf47f90da6
commit
cb07debcb6
252 changed files with 5944 additions and 3744 deletions
|
@ -529,8 +529,7 @@ impl CalcNode {
|
|||
context: &ParserContext,
|
||||
input: &mut Parser<'i, 't>,
|
||||
) -> Result<CSSInteger, ParseError<'i>> {
|
||||
Self::parse_number(context, input)
|
||||
.map(|n| n.round() as CSSInteger)
|
||||
Self::parse_number(context, input).map(|n| n.round() as CSSInteger)
|
||||
}
|
||||
|
||||
/// Convenience parsing function for `<length> | <percentage>`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue