aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/platform/macos
diff options
context:
space:
mode:
authorClément DAVID <c.david86@gmail.com>2017-08-23 14:10:08 +0200
committerClément DAVID <c.david86@gmail.com>2017-08-23 21:38:44 +0200
commitc5fe2351124c673d1dc4d59355a03654b4fcc541 (patch)
treebaa752c3c7847e85c0e50389400b45f7bf2fc390 /components/gfx/platform/macos
parentab73f3d61d895289898821272f6af2665c9c645c (diff)
downloadservo-c5fe2351124c673d1dc4d59355a03654b4fcc541.tar.gz
servo-c5fe2351124c673d1dc4d59355a03654b4fcc541.zip
order derivable traits lists
Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs
Diffstat (limited to 'components/gfx/platform/macos')
-rw-r--r--components/gfx/platform/macos/font_template.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/gfx/platform/macos/font_template.rs b/components/gfx/platform/macos/font_template.rs
index 643c00a8435..d71dc84254e 100644
--- a/components/gfx/platform/macos/font_template.rs
+++ b/components/gfx/platform/macos/font_template.rs
@@ -24,7 +24,7 @@ use webrender_api::NativeFontHandle;
/// The identifier is a PostScript font name. The
/// CTFont object is cached here for use by the
/// paint functions that create CGFont references.
-#[derive(Deserialize, Serialize, Debug)]
+#[derive(Debug, Deserialize, Serialize)]
pub struct FontTemplateData {
/// The `CTFont` object, if present. This is cached here so that we don't have to keep creating
/// `CTFont` instances over and over. It can always be recreated from the `identifier` and/or