aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/platform/macos
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-01-01 21:49:19 +0100
committerMs2ger <ms2ger@gmail.com>2015-01-02 19:04:18 +0100
commitb51e83819dfc2fded3a10744b353338f75ccae4d (patch)
tree1edb2c5d81a53ef4e8d5717a2440599d7a3e0f53 /components/gfx/platform/macos
parent141b5d038fad3c0c44a6f1b309b8ca9edea54580 (diff)
downloadservo-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/platform/macos')
-rw-r--r--components/gfx/platform/macos/font_list.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/gfx/platform/macos/font_list.rs b/components/gfx/platform/macos/font_list.rs
index da0485713f8..4a10b0ee463 100644
--- a/components/gfx/platform/macos/font_list.rs
+++ b/components/gfx/platform/macos/font_list.rs
@@ -19,7 +19,7 @@ pub fn get_available_families(callback: |String|) {
}
pub fn get_variations_for_family(family_name: &str, callback: |String|) {
- debug!("Looking for faces of family: {:s}", family_name);
+ debug!("Looking for faces of family: {}", family_name);
let family_collection =
core_text::font_collection::create_for_family(family_name.as_slice());