fix some comments
Signed-off-by: rustrover <seekseat@126.com>
This commit is contained in:
parent
a341e39df6
commit
500ba962d1
7 changed files with 8 additions and 8 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue