Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
wash2 committed Oct 18, 2024
1 parent fac7a13 commit 88d5374
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 1 addition & 3 deletions cosmic-settings/src/pages/desktop/dock/applets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ use crate::{
app,
pages::{
self,
desktop::panel::applets_inner::{
self, lists, AppletsPage, ContextDrawer,
},
desktop::panel::applets_inner::{self, lists, AppletsPage, ContextDrawer},
},
};

Expand Down
6 changes: 1 addition & 5 deletions cosmic-settings/src/pages/desktop/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@ use cosmic_settings_page as page;

#[derive(Debug)]
#[allow(clippy::struct_excessive_bools)]
#[derive(Default)]
pub struct Page {}

impl Default for Page {
fn default() -> Self {
Self {}
}
}

impl page::Page<crate::pages::Message> for Page {
fn info(&self) -> page::Info {
Expand Down

0 comments on commit 88d5374

Please sign in to comment.