Fix docs for image

This commit is contained in:
Héctor Ramón Jiménez 2019-09-03 14:30:12 +02:00
parent 3e41c4b590
commit 2c35103035
2 changed files with 15 additions and 15 deletions

View file

@ -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