summaryrefslogtreecommitdiff
path: root/src/geom/em.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/geom/em.rs')
-rw-r--r--src/geom/em.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geom/em.rs b/src/geom/em.rs
index ec1cfbda..99b1163c 100644
--- a/src/geom/em.rs
+++ b/src/geom/em.rs
@@ -22,7 +22,7 @@ impl Em {
Self(Scalar(em))
}
- /// Create font units at the given units per em.
+ /// Create an em length from font units at the given units per em.
pub fn from_units(units: impl Into<f64>, units_per_em: f64) -> Self {
Self(Scalar(units.into() / units_per_em))
}