summaryrefslogtreecommitdiffstats
path: root/widget/src
diff options
context:
space:
mode:
Diffstat (limited to 'widget/src')
-rw-r--r--widget/src/helpers.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/widget/src/helpers.rs b/widget/src/helpers.rs
index a643add3..a5411c89 100644
--- a/widget/src/helpers.rs
+++ b/widget/src/helpers.rs
@@ -123,7 +123,8 @@ where
Button::new(content)
}
-/// Creates a new [`Tooltip`] with the provided content, tooltip element, and [`tooltip::Position`].
+/// Creates a new [`Tooltip`] for the provided content with the given
+/// [`Element`] and [`tooltip::Position`].
///
/// [`Tooltip`]: crate::Tooltip
/// [`tooltip::Position`]: crate::tooltip::Position