fixed clippy:derivable-imps warning
This commit is contained in:
1 file changed
+1
-6
@@ -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<()> {
|
||||
|
||||
Reference in new issue
Block a user