mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
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 <mrobinson@igalia.com>
This commit is contained in:
parent
36d9ab8b28
commit
d3b03a20b5
1 changed files with 1 additions and 1 deletions
|
@ -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<Font> {
|
||||
let font_descriptor = match &self.identifier {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue