From d3b03a20b55533eab2ec7237c3d995788ec742e1 Mon Sep 17 00:00:00 2001 From: Oluwatobi Sofela <60105594+oluwatobiss@users.noreply.github.com> Date: Tue, 19 Mar 2024 14:06:16 +0100 Subject: [PATCH] rustdoc: Fix broken link to `FontFace` in `components/gfx` (#31745) * rustdoc: Fix fontface broken link error * Correct link to `Font` * Reduce the diff a bit --------- Co-authored-by: Martin Robinson --- components/gfx/platform/windows/font_template.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {