Skip to content

Commit

Permalink
chore: format and clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
DashieTM committed Mar 25, 2024
1 parent 06cd9c9 commit e60203a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ fn test_plug_assert_macros() {
assert!(test().is_ok());
let test = || plug_assert!(false);
assert!(test().is_err());
let test = || plug_assert_eq!(1,1);
let test = || plug_assert_eq!(1, 1);
assert!(test().is_ok());
let test = || plug_assert_eq!(1,10);
let test = || plug_assert_eq!(1, 10);
assert!(test().is_err());
}
2 changes: 1 addition & 1 deletion src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ pub mod dbus_utils;
pub mod flags;
pub mod macros;
pub mod plugin;
pub mod variant;
pub mod plugin_setup;
pub mod variant;
1 change: 0 additions & 1 deletion src/utils/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,3 @@ pub struct SidebarInfo {
pub icon_name: &'static str,
pub parent: Option<&'static str>,
}

2 changes: 0 additions & 2 deletions src/utils/plugin_setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ static SETUP_LIBS: fn() = || {
}
};

// static<const T> SETUP_PLUGINS_FN: fn() -> Vec<T> = {};

fn setup_backend_plugins() -> Vec<BackendPluginFunctions> {
let mut plugins = Vec::new();
unsafe {
Expand Down

0 comments on commit e60203a

Please sign in to comment.