Fix further clippy lints
... and explicitly annotate crates as well.
This commit is contained in:
parent
33a24b5821
commit
2f76a10a1d
33 changed files with 197 additions and 85 deletions
|
|
@ -6,13 +6,7 @@ pub trait StyleSheet {
|
|||
fn appearance(&self, style: Self::Style) -> Appearance;
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
#[derive(Debug, Clone, Copy, Default)]
|
||||
pub struct Appearance {
|
||||
pub color: Option<Color>,
|
||||
}
|
||||
|
||||
impl Default for Appearance {
|
||||
fn default() -> Self {
|
||||
Self { color: None }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue