mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Add message to fonts.len() == 0 assert
This commit is contained in:
parent
6640f2edd8
commit
8162f61ba5
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ impl FontContext {
|
|||
};
|
||||
}
|
||||
}
|
||||
assert!(fonts.len() > 0);
|
||||
assert!(fonts.len() > 0, "No matching font(s), are the appropriate fonts installed?");
|
||||
// TODO(Issue #179): Split FontStyle into specified and used styles
|
||||
let used_style = (*style).clone();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue