fixed clippy:derivable-imps warning

This commit is contained in:
sankalp committed 2026-05-08 22:12:31 +05:45
1 parent dba3995608
commit 30dadec637
1 file changed
+1 -6
+1 -6
View File
@@ -2,14 +2,9 @@ use crate::cli::GpuCommands;
use crate::commands::gpu;
use zbus::interface;
#[derive(Default)]
pub struct LapctlInterface {}
impl Default for LapctlInterface {
fn default() -> Self {
Self {}
}
}
#[interface(name = "org.lapctl1")]
impl LapctlInterface {
pub async fn switch_gpu_integrated(&self, no_reboot: bool) -> zbus::fdo::Result<()> {