aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/font_cache_task.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/gfx/font_cache_task.rs')
-rw-r--r--components/gfx/font_cache_task.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/gfx/font_cache_task.rs b/components/gfx/font_cache_task.rs
index a7bc98424ca..0b1ba4c9083 100644
--- a/components/gfx/font_cache_task.rs
+++ b/components/gfx/font_cache_task.rs
@@ -181,7 +181,7 @@ impl FontCache {
// TODO(Issue #188): look up localized font family names if canonical name not found
// look up canonical name
if self.local_families.contains_key(family_name) {
- debug!("FontList: Found font family with name={:s}", family_name.as_slice());
+ debug!("FontList: Found font family with name={}", family_name.as_slice());
let s = &mut self.local_families[*family_name];
if s.templates.len() == 0 {
@@ -199,7 +199,7 @@ impl FontCache {
None
} else {
- debug!("FontList: Couldn't find font family with name={:s}", family_name.as_slice());
+ debug!("FontList: Couldn't find font family with name={}", family_name.as_slice());
None
}
}