summaryrefslogtreecommitdiffstats
path: root/widget/src/scrollable.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-11 08:11:19 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-11 08:11:19 +0200
commit8e9099cdd30fb8a830340889f0e89eb2693e1d04 (patch)
tree20a6ad84a89194835604597b64fca0be8066b44f /widget/src/scrollable.rs
parent8ae4e09db9badb801669c15408bc76e8675f9cc8 (diff)
downloadiced-8e9099cdd30fb8a830340889f0e89eb2693e1d04.tar.gz
iced-8e9099cdd30fb8a830340889f0e89eb2693e1d04.tar.bz2
iced-8e9099cdd30fb8a830340889f0e89eb2693e1d04.zip
Fix broken doc links in `widget::scrollable`
Diffstat (limited to '')
-rw-r--r--widget/src/scrollable.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/widget/src/scrollable.rs b/widget/src/scrollable.rs
index 35613910..e6208528 100644
--- a/widget/src/scrollable.rs
+++ b/widget/src/scrollable.rs
@@ -197,7 +197,7 @@ pub enum Direction {
}
impl Direction {
- /// Returns the [`Properties`] of the horizontal scrollbar, if any.
+ /// Returns the horizontal [`Scrollbar`], if any.
pub fn horizontal(&self) -> Option<&Scrollbar> {
match self {
Self::Horizontal(properties) => Some(properties),
@@ -206,7 +206,7 @@ impl Direction {
}
}
- /// Returns the [`Properties`] of the vertical scrollbar, if any.
+ /// Returns the vertical [`Scrollbar`], if any.
pub fn vertical(&self) -> Option<&Scrollbar> {
match self {
Self::Vertical(properties) => Some(properties),
@@ -222,7 +222,7 @@ impl Default for Direction {
}
}
-/// Properties of a scrollbar within a [`Scrollable`].
+/// A scrollbar within a [`Scrollable`].
#[derive(Debug, Clone, Copy, PartialEq)]
pub struct Scrollbar {
width: f32,
@@ -245,7 +245,7 @@ impl Default for Scrollbar {
}
impl Scrollbar {
- /// Creates new [`Properties`] for use in a [`Scrollable`].
+ /// Creates new [`Scrollbar`] for use in a [`Scrollable`].
pub fn new() -> Self {
Self::default()
}