summaryrefslogtreecommitdiffstats
path: root/graphics/src/backend.rs
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/src/backend.rs')
-rw-r--r--graphics/src/backend.rs8
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.