summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2024-03-09 11:59:33 +0100
committerLibravatar GitHub <noreply@github.com>2024-03-09 11:59:33 +0100
commite236bd695aae4f07518479983c3da2b214f0b361 (patch)
tree52f7177fb7a31494a0d021c5f1c238145577a7c9 /core
parenta341e39df63e9c4860eb796bf5c4b6a9b41116a2 (diff)
parent500ba962d17853bdef7aed49b150dbe3f45692e9 (diff)
downloadiced-e236bd695aae4f07518479983c3da2b214f0b361.tar.gz
iced-e236bd695aae4f07518479983c3da2b214f0b361.tar.bz2
iced-e236bd695aae4f07518479983c3da2b214f0b361.zip
Merge pull request #2317 from rustrover/master
fix some comments
Diffstat (limited to '')
-rw-r--r--core/src/background.rs2
-rw-r--r--core/src/widget/text.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/background.rs b/core/src/background.rs
index eb4b5021..c8b7cbea 100644
--- a/core/src/background.rs
+++ b/core/src/background.rs
@@ -12,7 +12,7 @@ pub enum Background {
}
impl Background {
- /// Scales the the alpha channel of the [`Background`] by the given
+ /// Scales the alpha channel of the [`Background`] by the given
/// factor.
pub fn scale_alpha(self, factor: f32) -> Self {
match self {
diff --git a/core/src/widget/text.rs b/core/src/widget/text.rs
index a220127c..0305972b 100644
--- a/core/src/widget/text.rs
+++ b/core/src/widget/text.rs
@@ -330,7 +330,7 @@ where
}
}
-/// The apperance of some text.
+/// The appearance of some text.
#[derive(Debug, Clone, Copy, Default)]
pub struct Appearance {
/// The [`Color`] of the text.