summaryrefslogtreecommitdiffstats
path: root/core/src/background.rs
diff options
context:
space:
mode:
authorLibravatar rustrover <seekseat@126.com>2024-03-09 15:26:37 +0800
committerLibravatar rustrover <seekseat@126.com>2024-03-09 15:26:37 +0800
commit500ba962d17853bdef7aed49b150dbe3f45692e9 (patch)
tree52f7177fb7a31494a0d021c5f1c238145577a7c9 /core/src/background.rs
parenta341e39df63e9c4860eb796bf5c4b6a9b41116a2 (diff)
downloadiced-500ba962d17853bdef7aed49b150dbe3f45692e9.tar.gz
iced-500ba962d17853bdef7aed49b150dbe3f45692e9.tar.bz2
iced-500ba962d17853bdef7aed49b150dbe3f45692e9.zip
fix some comments
Signed-off-by: rustrover <seekseat@126.com>
Diffstat (limited to 'core/src/background.rs')
-rw-r--r--core/src/background.rs2
1 files changed, 1 insertions, 1 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 {