From 2c35103035e47485f2fb049f86b3c00feb4b99d2 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 3 Sep 2019 14:30:12 +0200 Subject: Fix docs for `image` --- src/widget/checkbox.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/widget/checkbox.rs') diff --git a/src/widget/checkbox.rs b/src/widget/checkbox.rs index b9a40a37..34d5df53 100644 --- a/src/widget/checkbox.rs +++ b/src/widget/checkbox.rs @@ -64,8 +64,8 @@ impl Checkbox { /// * 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(is_checked: bool, label: &str, f: F) -> Self -- cgit