tsk-271: Warning fix

This commit is contained in:
phoenix committed 2026-11-20 16:31:08 -05:00
1 parent 4fdcd80db2
commit 64c6a7f6b5
1 file changed
+5 -5
+5 -5
View File
@@ -33,11 +33,11 @@ pub mod queue {
}
fn valid_device_type(&self) -> bool {
match self.device_type.as_str() {
super::super::PLAYBACK_QUEUE_DEVICE_TYPE_BROWSER => true,
super::super::PLAYBACK_QUEUE_DEVICE_TYPE_MOBILE => true,
_ => false,
}
matches!(
self.device_type.as_str(),
super::super::PLAYBACK_QUEUE_DEVICE_TYPE_BROWSER
| super::super::PLAYBACK_QUEUE_DEVICE_TYPE_MOBILE
)
}
}
}