diff --git a/components/gfx/platform/windows/font_template.rs b/components/gfx/platform/windows/font_template.rs index 5e2469550dc2..9cdcb980e9ad 100644 --- a/components/gfx/platform/windows/font_template.rs +++ b/components/gfx/platform/windows/font_template.rs @@ -79,7 +79,7 @@ impl FontTemplateData { self.font_data.read().unwrap().as_ref().cloned() } - /// Get a [`FontFace`] for this font if it is a local font or return `None` if it's a + /// Get a [`Font`] for this font if it is a local font or return `None` if it's a /// web font. pub fn get_font(&self) -> Option { let font_descriptor = match &self.identifier {