summaryrefslogtreecommitdiff
path: root/src/font.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/font.rs')
-rw-r--r--src/font.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/font.rs b/src/font.rs
index 911bd2f1..3dec3a63 100644
--- a/src/font.rs
+++ b/src/font.rs
@@ -163,7 +163,7 @@ impl Display for VerticalFontMetric {
/// A length in em units.
///
/// `1em` is the same as the font size.
-#[derive(Default, Debug, Copy, Clone, Eq, PartialEq, PartialOrd)]
+#[derive(Debug, Default, Copy, Clone, Eq, PartialEq, PartialOrd)]
pub struct Em(N64);
impl Em {
@@ -370,7 +370,7 @@ pub struct FaceInfo {
}
/// Properties that distinguish a face from other faces in the same family.
-#[derive(Default, Debug, Copy, Clone, Eq, PartialEq, Hash)]
+#[derive(Debug, Default, Copy, Clone, Eq, PartialEq, Hash)]
#[derive(Serialize, Deserialize)]
pub struct FontVariant {
/// The style of the face (normal / italic / oblique).