diff options
Diffstat (limited to 'src/widget/checkbox.rs')
-rw-r--r-- | src/widget/checkbox.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<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 |