summaryrefslogtreecommitdiffstats
path: root/src/widget/checkbox.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-09-03 14:30:12 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-09-03 14:30:12 +0200
commit2c35103035e47485f2fb049f86b3c00feb4b99d2 (patch)
treefec9440b30ef295cc00b3aec70c74329f6e5c237 /src/widget/checkbox.rs
parent3e41c4b590bed7c18a45f08cfb89e27b18c720ce (diff)
downloadiced-2c35103035e47485f2fb049f86b3c00feb4b99d2.tar.gz
iced-2c35103035e47485f2fb049f86b3c00feb4b99d2.tar.bz2
iced-2c35103035e47485f2fb049f86b3c00feb4b99d2.zip
Fix docs for `image`
Diffstat (limited to 'src/widget/checkbox.rs')
-rw-r--r--src/widget/checkbox.rs4
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