mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Some fixes in style
This commit is contained in:
parent
3ead9cc67b
commit
2091981db8
3 changed files with 10 additions and 13 deletions
|
@ -490,7 +490,7 @@ pub fn parse_length(mut value: &str) -> LengthOrPercentageOrAuto {
|
|||
}
|
||||
|
||||
// Step 5
|
||||
if value.starts_with("+") {
|
||||
if value.starts_with('+') {
|
||||
value = &value[1..]
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue