diff options
author | 2023-09-09 12:24:47 +0200 | |
---|---|---|
committer | 2023-09-09 18:59:17 +0200 | |
commit | 89d9f1d7d2202029028a487df1dd11b0665a7517 (patch) | |
tree | ff3f998798c9d0b1d334989d941c90b0b1012ee4 /src | |
parent | 89d9c45d25e9bf89e48858b135bc7a2d41c757a8 (diff) | |
download | iced-89d9f1d7d2202029028a487df1dd11b0665a7517.tar.gz iced-89d9f1d7d2202029028a487df1dd11b0665a7517.tar.bz2 iced-89d9f1d7d2202029028a487df1dd11b0665a7517.zip |
Fix majority of unresolved documentation links
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 6 | ||||
-rw-r--r-- | src/settings.rs | 2 | ||||
-rw-r--r-- | src/window/icon.rs | 2 |
3 files changed, 5 insertions, 5 deletions
@@ -258,11 +258,11 @@ pub mod system { pub mod overlay { //! Display interactive elements on top of other widgets. - /// A generic [`Overlay`]. + /// A generic overlay. /// - /// This is an alias of an `iced_native` element with a default `Renderer`. + /// This is an alias of an [`overlay::Element`] with a default `Renderer`. /// - /// [`Overlay`]: iced_native::Overlay + /// [`overlay::Element`]: crate::core::overlay::Element pub type Element<'a, Message, Renderer = crate::Renderer> = crate::core::overlay::Element<'a, Message, Renderer>; diff --git a/src/settings.rs b/src/settings.rs index 0dd46584..8659603c 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -23,7 +23,7 @@ pub struct Settings<Flags> { /// The default [`Font`] to be used. /// - /// By default, it uses [`Font::SansSerif`]. + /// By default, it uses [`Family::SansSerif`](crate::font::Family::SansSerif). pub default_font: Font, /// The text size that will be used by default. diff --git a/src/window/icon.rs b/src/window/icon.rs index 0cb206b3..ef71c228 100644 --- a/src/window/icon.rs +++ b/src/window/icon.rs @@ -10,7 +10,7 @@ use std::path::Path; /// Creates an icon from an image file. /// -/// This will return an error in case the file is missing at run-time. You may prefer [`Self::from_file_data`] instead. +/// This will return an error in case the file is missing at run-time. You may prefer [`from_file_data`] instead. #[cfg(feature = "image")] pub fn from_file<P: AsRef<Path>>(icon_path: P) -> Result<Icon, Error> { let icon = image::io::Reader::open(icon_path)?.decode()?.to_rgba8(); |