fix some comments

Signed-off-by: rustrover <seekseat@126.com>
This commit is contained in:
rustrover 2024-03-09 15:26:37 +08:00
parent a341e39df6
commit 500ba962d1
7 changed files with 8 additions and 8 deletions

View file

@ -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 {

View file

@ -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.