Fix broken links in documentation

This commit is contained in:
Héctor Ramón Jiménez 2024-03-07 00:19:24 +01:00
parent 905f2160e6
commit 6785a452ee
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
7 changed files with 8 additions and 23 deletions

View file

@ -778,16 +778,16 @@ mod platform {
}
}
/// The possible status of a [`TextInput`].
/// The possible status of a [`TextEditor`].
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Status {
/// The [`TextInput`] can be interacted with.
/// The [`TextEditor`] can be interacted with.
Active,
/// The [`TextInput`] is being hovered.
/// The [`TextEditor`] is being hovered.
Hovered,
/// The [`TextInput`] is focused.
/// The [`TextEditor`] is focused.
Focused,
/// The [`TextInput`] cannot be interacted with.
/// The [`TextEditor`] cannot be interacted with.
Disabled,
}
@ -832,7 +832,7 @@ impl<Theme> From<fn(&Theme, Status) -> Appearance> for Style<Theme> {
}
}
/// The default style of a [`TextInput`].
/// The default style of a [`TextEditor`].
pub fn default(theme: &Theme, status: Status) -> Appearance {
let palette = theme.extended_palette();