diff options
author | 2020-11-26 02:52:34 +0100 | |
---|---|---|
committer | 2020-11-26 02:52:34 +0100 | |
commit | 1f7e8b7f3d1804c39c8e0934b25f3ef178de269c (patch) | |
tree | 380d9224b81537e460ea7f9fe84c0c912d3f4cbf /graphics/src/backend.rs | |
parent | bffaeed9fd44619491c012cd9270043828c1849c (diff) | |
parent | 01322f69a406eee76014f5e2834336e2295ad80e (diff) | |
download | iced-1f7e8b7f3d1804c39c8e0934b25f3ef178de269c.tar.gz iced-1f7e8b7f3d1804c39c8e0934b25f3ef178de269c.tar.bz2 iced-1f7e8b7f3d1804c39c8e0934b25f3ef178de269c.zip |
Merge pull request #632 from hecrj/improvement/update-docs
Use intra-doc links
Diffstat (limited to 'graphics/src/backend.rs')
-rw-r--r-- | graphics/src/backend.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/src/backend.rs b/graphics/src/backend.rs index dd7dbbc2..ed1b9e08 100644 --- a/graphics/src/backend.rs +++ b/graphics/src/backend.rs @@ -5,7 +5,7 @@ use iced_native::{Font, Size}; /// The graphics backend of a [`Renderer`]. /// -/// [`Renderer`]: ../struct.Renderer.html +/// [`Renderer`]: crate::Renderer pub trait Backend { /// Trims the measurements cache. /// @@ -22,12 +22,12 @@ pub trait Text { /// The `char` representing a ✔ icon in the [`ICON_FONT`]. /// - /// [`ICON_FONT`]: #associatedconst.ICON_FONT + /// [`ICON_FONT`]: Self::ICON_FONT const CHECKMARK_ICON: char; - /// The `char` representing a ▼ icon in the built-in [`ICONS`] font. + /// The `char` representing a ▼ icon in the built-in [`ICON_FONT`]. /// - /// [`ICON_FONT`]: #associatedconst.ICON_FONT + /// [`ICON_FONT`]: Self::ICON_FONT const ARROW_DOWN_ICON: char; /// Returns the default size of text. |