mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update cssparser to 0.18
https://github.com/servo/rust-cssparser/pull/171
This commit is contained in:
parent
30d6d6024b
commit
eb98ae6e04
64 changed files with 541 additions and 512 deletions
|
@ -590,9 +590,9 @@ ${helpers.predefined_type(
|
|||
return Ok(SpecifiedValue::None);
|
||||
}
|
||||
|
||||
if let Ok(s) = input.try(|input| input.expect_string()) {
|
||||
if let Ok(s) = input.try(|i| i.expect_string().map(|s| s.as_ref().to_owned())) {
|
||||
// Handle <string>
|
||||
return Ok(SpecifiedValue::String(s.into_owned()));
|
||||
return Ok(SpecifiedValue::String(s));
|
||||
}
|
||||
|
||||
// Handle a pair of keywords
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue