summaryrefslogtreecommitdiffstats
path: root/widget/src/checkbox.rs
diff options
context:
space:
mode:
authorLibravatar bbb651 <bar.ye651@gmail.com>2024-09-29 16:37:35 +0300
committerLibravatar bbb651 <bar.ye651@gmail.com>2024-09-29 16:37:35 +0300
commit7a86900a45116994a4a175c8979550b28ec0dcfb (patch)
tree4318ba0219282b246606b37c2344ac4efb5323a3 /widget/src/checkbox.rs
parentafecc0f367aff12fa353c8158fac3098ffe40136 (diff)
downloadiced-7a86900a45116994a4a175c8979550b28ec0dcfb.tar.gz
iced-7a86900a45116994a4a175c8979550b28ec0dcfb.tar.bz2
iced-7a86900a45116994a4a175c8979550b28ec0dcfb.zip
Fix various typos
Using https://github.com/crate-ci/typos
Diffstat (limited to 'widget/src/checkbox.rs')
-rw-r--r--widget/src/checkbox.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/src/checkbox.rs b/widget/src/checkbox.rs
index 4a3f35ed..4b2f6075 100644
--- a/widget/src/checkbox.rs
+++ b/widget/src/checkbox.rs
@@ -487,7 +487,7 @@ pub struct Style {
pub background: Background,
/// The icon [`Color`] of the checkbox.
pub icon_color: Color,
- /// The [`Border`] of hte checkbox.
+ /// The [`Border`] of the checkbox.
pub border: Border,
/// The text [`Color`] of the checkbox.
pub text_color: Option<Color>,
@@ -600,7 +600,7 @@ pub fn success(theme: &Theme, status: Status) -> Style {
}
}
-/// A danger checkbox; denoting a negaive toggle.
+/// A danger checkbox; denoting a negative toggle.
pub fn danger(theme: &Theme, status: Status) -> Style {
let palette = theme.extended_palette();