Fix doc links

This commit is contained in:
Jeremy Soller 2024-10-18 17:42:35 -06:00 committed by Ashley Wulber
parent 35cf63b323
commit 51b370ef48
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
6 changed files with 17 additions and 14 deletions

View file

@ -972,7 +972,7 @@ fn disabled(style: Style) -> Style {
}
}
/// Produces a [`Command`] that focuses the [`Button`] with the given [`Id`].
/// Produces a [`Task`] that focuses the [`Button`] with the given [`Id`].
pub fn focus<Message: 'static + Send>(id: Id) -> Task<Message> {
task::widget(operation::focusable::focus(id))
}

View file

@ -113,7 +113,7 @@ where
self
}
/// Sets the [`text::Wrap`] mode of the [`Menu`].
/// Sets the [`text::Wrapping`] mode of the [`Menu`].
pub fn text_wrap(mut self, wrap: text::Wrapping) -> Self {
self.text_wrap = wrap;
self

View file

@ -263,7 +263,7 @@ where
self
}
/// Sets the [`text::Wrap`] mode of the [`PickList`].
/// Sets the [`text::Wrapping`] mode of the [`PickList`].
pub fn text_wrap(mut self, wrap: text::Wrapping) -> Self {
self.text_wrap = wrap;
self