mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update euclid.
There are a few canvas2d-related dependencies that haven't updated, but they only use euclid internally so that's not blocking landing the rest of the changes. Given the size of this patch, I think it's useful to get this landed as-is.
This commit is contained in:
parent
2ff7cb5a37
commit
3d57c22e9c
133 changed files with 686 additions and 596 deletions
|
@ -163,7 +163,7 @@ impl Parse for Quotes {
|
|||
.try(|input| input.expect_ident_matching("none"))
|
||||
.is_ok()
|
||||
{
|
||||
return Ok(Quotes::QuoteList(QuoteList::default()))
|
||||
return Ok(Quotes::QuoteList(QuoteList::default()));
|
||||
}
|
||||
|
||||
let mut quotes = Vec::new();
|
||||
|
@ -180,7 +180,9 @@ impl Parse for Quotes {
|
|||
}
|
||||
|
||||
if !quotes.is_empty() {
|
||||
Ok(Quotes::QuoteList(QuoteList(crate::ArcSlice::from_iter(quotes.into_iter()))))
|
||||
Ok(Quotes::QuoteList(QuoteList(crate::ArcSlice::from_iter(
|
||||
quotes.into_iter(),
|
||||
))))
|
||||
} else {
|
||||
Err(input.new_custom_error(StyleParseErrorKind::UnspecifiedError))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue