mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Fix some warnings
This commit is contained in:
parent
be69f9c3e6
commit
be2218a134
7 changed files with 10 additions and 10 deletions
|
@ -69,7 +69,7 @@ where
|
|||
digits[0] = (x % 10) as u8 + b'0';
|
||||
|
||||
let s = str::from_utf8(&digits[..]).unwrap();
|
||||
fmt.write_str(s.trim_right_matches('0'))
|
||||
fmt.write_str(s.trim_end_matches('0'))
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue