Fix docs for image
This commit is contained in:
parent
3e41c4b590
commit
2c35103035
2 changed files with 15 additions and 15 deletions
|
|
@ -64,8 +64,8 @@ impl<Color, Message> Checkbox<Color, Message> {
|
|||
/// * a boolean describing whether the [`Checkbox`] is checked or not
|
||||
/// * the label of the [`Checkbox`]
|
||||
/// * a function that will be called when the [`Checkbox`] is toggled.
|
||||
/// It receives the new state of the [`Checkbox`] and must produce a
|
||||
/// `Message`.
|
||||
/// It will receive the new state of the [`Checkbox`] and must produce
|
||||
/// a `Message`.
|
||||
///
|
||||
/// [`Checkbox`]: struct.Checkbox.html
|
||||
pub fn new<F>(is_checked: bool, label: &str, f: F) -> Self
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue