chore: Apply clippy lints
This commit is contained in:
parent
03dfc009fd
commit
dcbde3b1f2
12 changed files with 100 additions and 58 deletions
|
|
@ -14,6 +14,7 @@ pub fn vertical_rule(size: u16) -> widget::Rule<Renderer> {
|
|||
widget::vertical_rule(size).style(theme::Rule::Custom(separator_style))
|
||||
}
|
||||
|
||||
#[allow(clippy::trivially_copy_pass_by_ref)]
|
||||
fn separator_style(theme: &Theme) -> widget::rule::Appearance {
|
||||
let cosmic = &theme.cosmic().primary;
|
||||
widget::rule::Appearance {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue