summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-11-10 00:10:53 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-11-10 00:10:53 +0100
commit1480ab20306e463b69b2229dcd5e81d4c66b2a64 (patch)
treefa9e1557a68e0a423d858618dd2d2e1484757027 /src
parentff9395838b5075eb357082f7bb9a6f9a58d7864b (diff)
downloadiced-1480ab20306e463b69b2229dcd5e81d4c66b2a64.tar.gz
iced-1480ab20306e463b69b2229dcd5e81d4c66b2a64.tar.bz2
iced-1480ab20306e463b69b2229dcd5e81d4c66b2a64.zip
Fix broken documentation links
Diffstat (limited to '')
-rw-r--r--src/application.rs3
-rw-r--r--src/overlay.rs2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/application.rs b/src/application.rs
index 23ce034e..ae5e948f 100644
--- a/src/application.rs
+++ b/src/application.rs
@@ -148,9 +148,8 @@ pub trait Application: Sized {
Self::Theme::default()
}
- /// Returns the current [`Style`] of the [`Theme`].
+ /// Returns the current `Style` of the [`Theme`].
///
- /// [`Style`]: <Self::Theme as StyleSheet>::Style
/// [`Theme`]: Self::Theme
fn style(&self) -> <Self::Theme as StyleSheet>::Style {
<Self::Theme as StyleSheet>::Style::default()
diff --git a/src/overlay.rs b/src/overlay.rs
index a7003751..c0f4c492 100644
--- a/src/overlay.rs
+++ b/src/overlay.rs
@@ -3,6 +3,8 @@
/// A generic [`Overlay`].
///
/// This is an alias of an `iced_native` element with a default `Renderer`.
+///
+/// [`Overlay`]: iced_native::Overlay
pub type Element<'a, Message, Renderer = crate::Renderer> =
iced_native::overlay::Element<'a, Message, Renderer>;