mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Fix reported test-tidy errors
This fixes lines that were reported to have missing space after a comma.
This commit is contained in:
parent
24bc6dfb52
commit
d61a6e2161
13 changed files with 19 additions and 19 deletions
|
@ -826,7 +826,7 @@ pub mod specified {
|
|||
}
|
||||
|
||||
/// Parses a time according to CSS-VALUES § 6.2.
|
||||
fn parse_dimension(value: CSSFloat, unit: &str) -> Result<Time,()> {
|
||||
fn parse_dimension(value: CSSFloat, unit: &str) -> Result<Time, ()> {
|
||||
if unit.eq_ignore_ascii_case("s") {
|
||||
Ok(Time(value))
|
||||
} else if unit.eq_ignore_ascii_case("ms") {
|
||||
|
@ -836,7 +836,7 @@ pub mod specified {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn parse(input: &mut Parser) -> Result<Time,()> {
|
||||
pub fn parse(input: &mut Parser) -> Result<Time, ()> {
|
||||
match input.next() {
|
||||
Ok(Token::Dimension(ref value, ref unit)) => {
|
||||
Time::parse_dimension(value.value, &unit)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue