mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update serde to 0.8 (fixes #12659)
This commit is contained in:
parent
a22913569c
commit
7ad51dcd7a
70 changed files with 919 additions and 778 deletions
|
@ -229,7 +229,7 @@ impl FontCache {
|
|||
Ok(ref metadata) => {
|
||||
metadata.content_type.as_ref().map_or(false, |content_type| {
|
||||
let mime = &content_type.0;
|
||||
is_supported_font_type(&mime.0, &mime.1)
|
||||
is_supported_font_type(&(mime.0).0, &mime.1)
|
||||
})
|
||||
}
|
||||
Err(_) => false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue