diff options
author | 2024-03-09 15:26:37 +0800 | |
---|---|---|
committer | 2024-03-09 15:26:37 +0800 | |
commit | 500ba962d17853bdef7aed49b150dbe3f45692e9 (patch) | |
tree | 52f7177fb7a31494a0d021c5f1c238145577a7c9 /core | |
parent | a341e39df63e9c4860eb796bf5c4b6a9b41116a2 (diff) | |
download | iced-500ba962d17853bdef7aed49b150dbe3f45692e9.tar.gz iced-500ba962d17853bdef7aed49b150dbe3f45692e9.tar.bz2 iced-500ba962d17853bdef7aed49b150dbe3f45692e9.zip |
fix some comments
Signed-off-by: rustrover <seekseat@126.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/src/background.rs | 2 | ||||
-rw-r--r-- | core/src/widget/text.rs | 2 |
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. |