Fix multiple warnings

This commit is contained in:
Denis Benato
2025-10-08 01:19:38 +02:00
parent b2e7211bbe
commit 09dcfb4065
11 changed files with 140 additions and 127 deletions

View File

@@ -20,7 +20,7 @@ impl ScsiAura {
Self { device, config }
}
pub async fn lock_config(&self) -> MutexGuard<ScsiConfig> {
pub async fn lock_config(&self) -> MutexGuard<'_, ScsiConfig> {
self.config.lock().await
}