More refactoring

This commit is contained in:
2023-08-18 03:07:16 +02:00
parent 3134891751
commit 044c38ba86
20 changed files with 209 additions and 105 deletions

View File

@@ -91,7 +91,7 @@ impl DeviceManager {
}
pub async fn add(&self, device: Box<dyn Device>) {
let id = device.get_id().to_owned();
let id = device.get_id().into();
debug!(id, "Adding device");