Improve tooltip docs

This commit is contained in:
Héctor Ramón Jiménez 2024-02-09 02:12:22 +01:00
parent cb9000ea2a
commit a82cc783d9
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -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