Fix doc links
This commit is contained in:
parent
35cf63b323
commit
51b370ef48
6 changed files with 17 additions and 14 deletions
|
|
@ -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))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue