summaryrefslogtreecommitdiffstats
path: root/widget/src/helpers.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-04-27 06:19:25 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-04-27 06:19:25 +0200
commit95ac45e33d8490f0cc5c3cdea80be78f338d44e5 (patch)
tree3973f0cbcabd892a0ee70dd987eb31abf64caa51 /widget/src/helpers.rs
parent40dff6b23d4666d69e27addcfb90d9557f59ed6c (diff)
downloadiced-95ac45e33d8490f0cc5c3cdea80be78f338d44e5.tar.gz
iced-95ac45e33d8490f0cc5c3cdea80be78f338d44e5.tar.bz2
iced-95ac45e33d8490f0cc5c3cdea80be78f338d44e5.zip
Fix ambiguous link in documentation of `hover` helper
Diffstat (limited to 'widget/src/helpers.rs')
-rw-r--r--widget/src/helpers.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/widget/src/helpers.rs b/widget/src/helpers.rs
index 0b5adde7..5f27b680 100644
--- a/widget/src/helpers.rs
+++ b/widget/src/helpers.rs
@@ -294,6 +294,8 @@ where
///
/// This works analogously to a [`stack`], but it will only display the layer on top
/// when the cursor is over the base. It can be useful for removing visual clutter.
+///
+/// [`stack`]: stack()
pub fn hover<'a, Message, Theme, Renderer>(
base: impl Into<Element<'a, Message, Theme, Renderer>>,
top: impl Into<Element<'a, Message, Theme, Renderer>>,