summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-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.