mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Fix some warnings
This commit is contained in:
parent
be69f9c3e6
commit
be2218a134
7 changed files with 10 additions and 10 deletions
|
@ -548,7 +548,7 @@ pub fn parse_length(mut value: &str) -> LengthOrPercentageOrAuto {
|
|||
// Steps 1 & 2 are not relevant
|
||||
|
||||
// Step 3
|
||||
value = value.trim_left_matches(HTML_SPACE_CHARACTERS);
|
||||
value = value.trim_start_matches(HTML_SPACE_CHARACTERS);
|
||||
|
||||
// Step 4
|
||||
if value.is_empty() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue