diff options
author | Ms2ger <ms2ger@gmail.com> | 2015-01-01 21:49:19 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2015-01-02 19:04:18 +0100 |
commit | b51e83819dfc2fded3a10744b353338f75ccae4d (patch) | |
tree | 1edb2c5d81a53ef4e8d5717a2440599d7a3e0f53 /components/gfx/font_cache_task.rs | |
parent | 141b5d038fad3c0c44a6f1b309b8ca9edea54580 (diff) | |
download | servo-b51e83819dfc2fded3a10744b353338f75ccae4d.tar.gz servo-b51e83819dfc2fded3a10744b353338f75ccae4d.zip |
Fix obsolete format traits.
They are to be removed from the language in the next rust upgrade.
Diffstat (limited to 'components/gfx/font_cache_task.rs')
-rw-r--r-- | components/gfx/font_cache_task.rs | 4 |
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 } } |