tsk-271: Warning fix
This commit is contained in:
1 file changed
+5
-5
@@ -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
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user